com php-src: php_error_docref: ext/standard/math.c

From: Date: Tue, 15 Jul 2014 12:48:55 +0000
Subject: com php-src: php_error_docref: ext/standard/math.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79756@lists.php.net to get a copy of this message
Commit: 6692d15e26358867f3b28d5ca83730cf156fdaf6 Author: Andrea Faulds <ajf@ajf.me> Tue, 15 Jul 2014 13:48:55 +0100 Parents: 97c6c48ae87ddfe240f6444de5d3014c3c9e9efd Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6692d15e26358867f3b28d5ca83730cf156fdaf6 Log: php_error_docref Changed paths: M ext/standard/math.c Diff: diff --git a/ext/standard/math.c b/ext/standard/math.c index 281786a..e8260ec 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -1258,7 +1258,7 @@ PHP_FUNCTION(intdiv) } if (divisor == 0) { - php_error(E_WARNING, "Division by zero"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Division by zero"); RETURN_BOOL(0); }

« previous php.cvs (#79756) next »