note 75463 deleted from function.ereg by tularis
| From: | tularis@php.net | Date: | Thu, 31 May 2007 13:20:10 +0000 |
| Subject: | note 75463 deleted from function.ereg by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-127058@lists.php.net to get a copy of this message | ||
Note Submitter: rudi at mageuk dot com
----
mathieu dot guilbaud at NOSPAM dot univ-lehavre dot fr:
'Returns the length of the matched string if a match for pattern was found in string, or FALSE
if no matches were found or an error occurred. If the optional parameter regs was not passed or the
length of the matched string is 0, this function returns 1.'
Pay specific attention to the last sentence, which is basically what you are saying.
The function's return is correctly documented.