cvs: phpdoc /en/reference/strings/functions str-replace.xml

From: Date: Sat, 15 Nov 2003 16:47:22 +0000
Subject: cvs: phpdoc /en/reference/strings/functions str-replace.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356934@lists.php.net to get a copy of this message
didou Sat Nov 15 11:47:22 2003 EDT Modified files: /phpdoc/en/reference/strings/functions str-replace.xml Log: constants <> consonants needles is not a parameter Index: phpdoc/en/reference/strings/functions/str-replace.xml diff -u phpdoc/en/reference/strings/functions/str-replace.xml:1.11 phpdoc/en/reference/strings/functions/str-replace.xml:1.12 --- phpdoc/en/reference/strings/functions/str-replace.xml:1.11 Tue Sep 30 04:33:43 2003 +++ phpdoc/en/reference/strings/functions/str-replace.xml Sat Nov 15 11:47:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.str-replace"> <refnamediv> @@ -71,7 +71,7 @@ // Provides: Hll Wrld f PHP $vowels = array("a", "e", "i", "o", "u", "A", "E", "I", "O", "U"); -$onlyconstants = str_replace($vowels, "", "Hello World of PHP"); +$onlyconsonants = str_replace($vowels, "", "Hello World of PHP"); // Provides: You should eat pizza, beer, and ice cream every day $phrase = "You should eat fruits, vegetables, and fiber every day."; @@ -94,7 +94,7 @@ <note> <simpara> As of <literal>PHP 5.0.0</literal> the number of matched and replaced - <parameter>needles</parameter> will be returned in + needles (<parameter>search</parameter>) will be returned in <parameter>count</parameter> which is passed by reference. Prior to <literal>PHP 5.0.0</literal> this parameter is not available. </simpara>

« previous php.doc (#969356934) next »