cvs: php4 /ext/standard math.c

From: Date: Fri, 03 Aug 2001 23:27:23 +0000
Subject: cvs: php4 /ext/standard math.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6530@lists.php.net to get a copy of this message
jeroen Fri Aug 3 19:27:23 2001 EDT Modified files: /php4/ext/standard math.c Log: #- HTML-safe error for pow() Index: php4/ext/standard/math.c diff -u php4/ext/standard/math.c:1.44 php4/ext/standard/math.c:1.45 --- php4/ext/standard/math.c:1.44 Fri Aug 3 18:19:11 2001 +++ php4/ext/standard/math.c Fri Aug 3 19:27:23 2001 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: math.c,v 1.44 2001/08/03 22:19:11 jeroen Exp $ */ +/* $Id: math.c,v 1.45 2001/08/03 23:27:23 jeroen Exp $ */ #include "php.h" #include "php_math.h" @@ -433,7 +433,7 @@ } else if (Z_DVAL_PP(zbase) == 0.0) { if (lexp < 0) { php_error(E_WARNING, - "Division by zero: pow(0.0,<negative integer>)"); + "Division by zero: pow(0.0,[negative integer])"); RETURN_FALSE; } else { RETURN_DOUBLE(0.0); @@ -458,7 +458,7 @@ case 0: if (lexp < 0) { php_error(E_WARNING, - "Division by zero: pow(0,<negative integer>)"); + "Division by zero: pow(0,[negative integer])"); RETURN_FALSE; } else { RETURN_LONG(0);

« previous php.cvs (#6530) next »