diff options
author | Derick Rethans <derick@php.net> | 2002-07-08 12:52:22 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-07-08 12:52:22 +0000 |
commit | 728f2de4420f75bd3ac1813d2c227fc7f4a0a81d (patch) | |
tree | 4f9c64153fff9698be0bdbc3eb45fc9714037db7 /ext/standard/head.c | |
parent | bd356fd0b99eb05d19b1dd4a616df90097baca88 (diff) | |
download | php-git-728f2de4420f75bd3ac1813d2c227fc7f4a0a81d.tar.gz |
Unify error messages
Diffstat (limited to 'ext/standard/head.c')
-rw-r--r-- | ext/standard/head.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c index d8cc5345c0..81236de737 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -158,7 +158,7 @@ PHP_FUNCTION(setcookie) PHP_FUNCTION(headers_sent) { if (ZEND_NUM_ARGS() != 0) { - php_error(E_WARNING, "%s() expects no parameters, %d given", + php_error(E_WARNING, "%s(): No parameters expected, %d given", get_active_function_name(TSRMLS_C), ZEND_NUM_ARGS()); return; } |