vrana           Fri Sep 10 10:34:21 2004 EDT

  Modified files:              
    /phpdoc/en/reference/regex/functions        ereg.xml 
  Log:
  Return value (bug #29712)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/regex/functions/ereg.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/regex/functions/ereg.xml
diff -u phpdoc/en/reference/regex/functions/ereg.xml:1.9 
phpdoc/en/reference/regex/functions/ereg.xml:1.10
--- phpdoc/en/reference/regex/functions/ereg.xml:1.9    Tue Aug 17 03:26:26 2004
+++ phpdoc/en/reference/regex/functions/ereg.xml        Fri Sep 10 10:34:21 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- splitted from ./en/functions/regex.xml, last change in rev 1.2 -->
   <refentry id="function.ereg">
    <refnamediv>
@@ -50,6 +50,8 @@
      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.
+     If the optional parameter <parameter>regs</parameter> was not passed or
+     the length of the matched string is 0, this functions returns 1.
     </simpara>
     <para>
      The following code snippet takes a date in ISO format

Reply via email to