summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-08-03 23:27:23 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-08-03 23:27:23 +0000
commitdc4adaa231bd6827c99b36f9229b04793bdb8d33 (patch)
treef9f4fd9b2c32d53659eab8b0a1981c27ead79583 /ext/standard/math.c
parentb32f1ab299cfee342a83408eba8d1b5bf082a712 (diff)
downloadphp-git-dc4adaa231bd6827c99b36f9229b04793bdb8d33.tar.gz
#- HTML-safe error for pow()
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 7882125258..e7b5663b7e 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -433,7 +433,7 @@ PHP_FUNCTION(pow)
} 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 @@ PHP_FUNCTION(pow)
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);