tomsommer Mon Aug 16 18:35:06 2004 EDT
Modified files: /phpdoc/en/reference/regex/functions ereg.xml Log: Fix bug #29712 - ereg() does not return TRUE http://cvs.php.net/diff.php/phpdoc/en/reference/regex/functions/ereg.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/regex/functions/ereg.xml diff -u phpdoc/en/reference/regex/functions/ereg.xml:1.7 phpdoc/en/reference/regex/functions/ereg.xml:1.8 --- phpdoc/en/reference/regex/functions/ereg.xml:1.7 Tue Aug 3 13:25:34 2004 +++ phpdoc/en/reference/regex/functions/ereg.xml Mon Aug 16 18:35:06 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/regex.xml, last change in rev 1.2 --> <refentry id="function.ereg"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>bool</type><methodname>ereg</methodname> + <type>mixed</type><methodname>ereg</methodname> <methodparam><type>string</type><parameter>pattern</parameter></methodparam> <methodparam><type>string</type><parameter>string</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>&regs</parameter></methodparam> @@ -47,7 +47,7 @@ </simpara> </note> <simpara> - Returns &true; if a match for <parameter>pattern</parameter> was + Returns the length of the matched string if a match for <parameter>pattern</parameter> was found in <parameter>string</parameter>, or &false; if no matches were found or an error occurred. </simpara>