From f8aae8702cdd531621772ea2920a0df5f8be1ae4 Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Mon, 11 Nov 2002 16:34:39 +0000 Subject: Switch to using error_docref # Satisfy all those named Mar[ck]us --- ext/standard/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/standard/math.c b/ext/standard/math.c index 50b3e27c59..0c2fcedb50 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -542,7 +542,7 @@ PHP_FUNCTION(log) convert_to_double_ex(base); if (Z_DVAL_PP(base) <= 0.0) { - php_error(E_WARNING, "log(): base must be greater than 0", Z_DVAL_PP(base)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "base must be greater than 0"); RETURN_FALSE; } RETURN_DOUBLE(log(Z_DVAL_PP(num)) / log(Z_DVAL_PP(base))); -- cgit v1.2.1