summaryrefslogtreecommitdiff
path: root/ext/standard/head.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/head.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/head.c')
-rw-r--r--ext/standard/head.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c
index 10d33728f4..8845d8c86f 100644
--- a/ext/standard/head.c
+++ b/ext/standard/head.c
@@ -161,8 +161,7 @@ PHP_FUNCTION(setcookie)
PHP_FUNCTION(headers_sent)
{
if (ZEND_NUM_ARGS() != 0) {
- php_error(E_WARNING, "%s(): No parameters expected, %d given",
- get_active_function_name(TSRMLS_C), ZEND_NUM_ARGS());
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "No parameters expected, %d given", ZEND_NUM_ARGS());
return;
}