On Apr 9, 2006, at 6:31 AM, Derick Rethans wrote:
We should only do that is the regexp is the *only* parameter that can make pcre_exec fail. If the subject string can influence this we should not show a warning as you'd have to silence that by hand then.
But subject string and pattern work hand in hand. If you write a bad pattern, it might run okay on a short string, but fail on a larger one (by exceeding backtracking limit, for example).
-Andrei -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php