On Wed, 2008-04-09 at 13:51 +0000, "Felipe Pena" wrote:
> felipe                Wed Apr  9 13:51:09 2008 UTC
> 
>   Modified files:              (Branch: PHP_5_3)
>     /php-src/ext/ereg ereg.c 
>   Log:
>   MFB: Fixed bug #44678 (spliti error message includes wrong function name)
[...]
> +                     if (icase) {
> +                             php_error_docref(NULL TSRMLS_CC, E_WARNING, 
> "Invalid Regular Expression to spliti()");
> +                     } else {
> +                             php_error_docref(NULL TSRMLS_CC, E_WARNING, 
> "Invalid Regular Expression to split()");
> +                     }
> +

won't "Invalid Regular Expression" be enough as the fucntion nameis
added by php_error_docref? And are there no tests for that? :-)

johannes


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to