cvs: phpdoc /en/functions pcre.xml

From: Date: Wed, 31 Jan 2001 03:16:24 +0000
Subject: cvs: phpdoc /en/functions pcre.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334070@lists.php.net to get a copy of this message
andrei Tue Jan 30 19:16:24 2001 EDT Modified files: /phpdoc/en/functions pcre.xml Log: Note about preg_grep(). Index: phpdoc/en/functions/pcre.xml diff -u phpdoc/en/functions/pcre.xml:1.37 phpdoc/en/functions/pcre.xml:1.38 --- phpdoc/en/functions/pcre.xml:1.37 Tue Jan 30 00:56:36 2001 +++ phpdoc/en/functions/pcre.xml Tue Jan 30 19:16:23 2001 @@ -605,6 +605,12 @@ the given <parameter>pattern</parameter>.</para> <para> + Since PHP 4.0.4, the results returned by <function>preg_grep</function> + are indexed using the keys from the input array. If this behavior is + undesirable, use <function>array_values</function> on the array returned by + <function>preg_grep</function> to reindex the values.</para> + + <para> <example> <title><function>preg_grep</function> example</title> <programlisting role="php">

« previous php.doc (#969334070) next »