Negative values of start and length (bug #42710)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246623 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2007-11-21 15:59:26 +00:00
parent d0ac96658d
commit 637b01bb16

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strspn">
<refnamediv>
<refname>strspn</refname>
@ -59,6 +59,7 @@ $var = strspn("42 is the answer, what is the question ...", "1234567890");
<listitem>
<para>
The start position of the string to examine.
Negative value counts position from the end of a string.
</para>
</listitem>
</varlistentry>
@ -67,6 +68,7 @@ $var = strspn("42 is the answer, what is the question ...", "1234567890");
<listitem>
<para>
The length of the string to examine.
Negative value sets length from the end of a string.
</para>
</listitem>
</varlistentry>