note 97242 added to function.preg-match
| From: | teracci2002 at osu1 dot php dot net | Date: | Fri, 09 Apr 2010 16:00:41 +0000 |
| Subject: | note 97242 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168088@lists.php.net to get a copy of this message | ||
When you use preg_match() for security purpose or huge data processing,
mayby you should make consideration for backtrack_limit and recursion_limit.
http://www.php.net/manual/en/pcre.configuration.php
These limits may bring wrong matching result.
You can verify whether you hit these limits by checking preg_last_error().
http://www.php.net/manual/en/function.preg-last-error.php
----
Server IP: 69.147.83.197
Probable Submitter: 59.156.26.145
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- https://master.php.net/note/edit/97242
Del: integrated -- https://master.php.net/note/delete/97242/integrated
Del: useless -- https://master.php.net/note/delete/97242/useless
Del: bad code -- https://master.php.net/note/delete/97242/bad+code
Del: spam -- https://master.php.net/note/delete/97242/spam
Del: non-english -- https://master.php.net/note/delete/97242/non-english
Del: in docs -- https://master.php.net/note/delete/97242/in+docs
Del: other reasons-- https://master.php.net/note/delete/97242
Reject -- https://master.php.net/note/reject/97242
Search -- https://master.php.net/manage/user-notes.php