philip Sat Jul 24 14:47:21 2004 EDT
Modified files:
/phpdoc/en/reference/strings/functions strcspn.xml strspn.xml
Log:
Mention that the optional start and length parameters became available in PHP 4.3.0
#info provided by rioter
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/strcspn.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/strings/functions/strcspn.xml
diff -u phpdoc/en/reference/strings/functions/strcspn.xml:1.4
phpdoc/en/reference/strings/functions/strcspn.xml:1.5
--- phpdoc/en/reference/strings/functions/strcspn.xml:1.4 Thu Jul 22 18:51:12
2004
+++ phpdoc/en/reference/strings/functions/strcspn.xml Sat Jul 24 14:47:20 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.strcspn">
<refnamediv>
@@ -23,9 +23,10 @@
contain any of the characters in <parameter>str2</parameter>.
</simpara>
<simpara>
- Additionally it accepts two optional integer
- parameters that can be used to define the starting position
- and the length of the string to examine.
+ As of PHP 4.3.0, <function>strcspn</function> accepts two optional
+ <type>integer</type> parameters that can be used to define the
+ <parameter>start</parameter> position and the
+ <parameter>length</parameter> of the string to examine.
</simpara>
¬e.bin-safe;
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/strspn.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/strings/functions/strspn.xml
diff -u phpdoc/en/reference/strings/functions/strspn.xml:1.5
phpdoc/en/reference/strings/functions/strspn.xml:1.6
--- phpdoc/en/reference/strings/functions/strspn.xml:1.5 Thu Jul 22 18:51:12
2004
+++ phpdoc/en/reference/strings/functions/strspn.xml Sat Jul 24 14:47:20 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.strspn">
<refnamediv>
@@ -36,10 +36,13 @@
will assign 2 to <varname>$var</varname>, because the string "42" will
be the longest segment containing characters from "1234567890".
</para>
+ <simpara>
+ As of PHP 4.3.0, <function>strspn</function> accepts two optional
+ <type>integer</type> parameters that can be used to define the
+ <parameter>start</parameter> position and the
+ <parameter>length</parameter> of the string to examine.
+ </simpara>
<para>
- Additionally it accepts two optional integer
- parameters that can be used to define the starting position
- and the length of the string to examine.
<informalexample>
<programlisting role="php">
<![CDATA[