vrana Tue Aug 17 03:26:30 2004 EDT
Modified files: /phpdoc/en/reference/regex/functions ereg.xml eregi.xml Log: Return type (howto/working.xml: Do not use mixed, if the return value is of a certain (not boolean) type, and FALSE only on error.) http://cvs.php.net/diff.php/phpdoc/en/reference/regex/functions/ereg.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/regex/functions/ereg.xml diff -u phpdoc/en/reference/regex/functions/ereg.xml:1.8 phpdoc/en/reference/regex/functions/ereg.xml:1.9 --- phpdoc/en/reference/regex/functions/ereg.xml:1.8 Mon Aug 16 18:35:06 2004 +++ phpdoc/en/reference/regex/functions/ereg.xml Tue Aug 17 03:26:26 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- 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>mixed</type><methodname>ereg</methodname> + <type>int</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> http://cvs.php.net/diff.php/phpdoc/en/reference/regex/functions/eregi.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/regex/functions/eregi.xml diff -u phpdoc/en/reference/regex/functions/eregi.xml:1.6 phpdoc/en/reference/regex/functions/eregi.xml:1.7 --- phpdoc/en/reference/regex/functions/eregi.xml:1.6 Mon Aug 16 19:39:05 2004 +++ phpdoc/en/reference/regex/functions/eregi.xml Tue Aug 17 03:26:27 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/regex.xml, last change in rev 1.2 --> <refentry id="function.eregi"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>mixed</type><methodname>eregi</methodname> + <type>int</type><methodname>eregi</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>