mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
d0ac96658d
commit
637b01bb16
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue