note 69582 added to function.eregi
| From: | benjohnson{-at-}maine{-dot-}rr{-dot-}com at osu1 dot php dot net | Date: | Mon, 11 Sep 2006 21:33:40 +0000 |
| Subject: | note 69582 added to function.eregi | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117030@lists.php.net to get a copy of this message | ||
It's probably worth noting that eregi() (and most likely, the related variations) appears to
have a 255-character limit with respect to the length of the input it will attempt to parse.
If you try to do something like
if (!eregi("^[a-zA-Z0-9]{0,256}$", $text)) { ...
eregi() will return FALSE, irrespective of whether or not the input matches the pattern.
----
Server IP: 216.194.113.175
Probable Submitter: 12.37.59.1
----
Manual Page -- http://www.php.net/manual/en/function.eregi.php
Edit -- https://master.php.net/note/edit/69582
Del: integrated -- https://master.php.net/note/delete/69582/integrated
Del: useless -- https://master.php.net/note/delete/69582/useless
Del: bad code -- https://master.php.net/note/delete/69582/bad+code
Del: spam -- https://master.php.net/note/delete/69582/spam
Del: non-english -- https://master.php.net/note/delete/69582/non-english
Del: in docs -- https://master.php.net/note/delete/69582/in+docs
Del: other reasons-- https://master.php.net/note/delete/69582
Reject -- https://master.php.net/note/reject/69582
Search -- https://master.php.net/manage/user-notes.php