summaryrefslogtreecommitdiff
path: root/ext/standard/ftok.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/ftok.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/ftok.c')
-rw-r--r--ext/standard/ftok.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/ftok.c b/ext/standard/ftok.c
index a472bc3248..67a257a87a 100644
--- a/ext/standard/ftok.c
+++ b/ext/standard/ftok.c
@@ -41,12 +41,12 @@ PHP_FUNCTION(ftok)
convert_to_string_ex(proj);
if (Z_STRLEN_PP(pathname)==0){
- php_error(E_WARNING, "%s(): First argument invalid", get_active_function_name(TSRMLS_C));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "First argument invalid");
RETURN_LONG(-1);
}
if (Z_STRLEN_PP(proj)!=1){
- php_error(E_WARNING, "%s(): Second argument invalid", get_active_function_name(TSRMLS_C));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Second argument invalid");
RETURN_LONG(-1);
}