note 75463 added to function.ereg
| From: | rudi at mageuk dot com | Date: | Thu, 31 May 2007 11:32:07 +0000 |
| Subject: | note 75463 added to function.ereg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127053@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 87.124.64.96
Probable Submitter: 87.102.15.21
----
Manual Page -- http://www.php.net/manual/en/function.ereg.php
Edit -- https://master.php.net/note/edit/75463
Del: integrated -- https://master.php.net/note/delete/75463/integrated
Del: useless -- https://master.php.net/note/delete/75463/useless
Del: bad code -- https://master.php.net/note/delete/75463/bad+code
Del: spam -- https://master.php.net/note/delete/75463/spam
Del: non-english -- https://master.php.net/note/delete/75463/non-english
Del: in docs -- https://master.php.net/note/delete/75463/in+docs
Del: other reasons-- https://master.php.net/note/delete/75463
Reject -- https://master.php.net/note/reject/75463
Search -- https://master.php.net/manage/user-notes.php