summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-24 01:19:28 +0000
committerMarcus Boerger <helly@php.net>2002-08-24 01:19:28 +0000
commit149ad05b4f35b595f281b6be2cb3521c4726e553 (patch)
treed70d81f4e077ddd7e66b3994373d4662bcf3a3e1 /ext/standard/math.c
parent928c4ad41daa7023528574c343f99934ef80089a (diff)
downloadphp-git-149ad05b4f35b595f281b6be2cb3521c4726e553.tar.gz
php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index f6bf528dab..5b6c10962f 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -772,8 +772,7 @@ _php_math_zvaltobase(zval *arg, int base TSRMLS_DC)
/* Don't try to convert +/- infinity */
if (fvalue == HUGE_VAL || fvalue == -HUGE_VAL) {
- php_error(E_WARNING, "Number too large in %s() call",
- get_active_function_name(TSRMLS_C));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Number too large");
return empty_string;
}