diff options
author | Marcus Boerger <helly@php.net> | 2002-10-30 14:15:16 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-10-30 14:15:16 +0000 |
commit | 328396920be3105f021bef9cc27b767aba3f4fb0 (patch) | |
tree | edc4b5c467abcf19b6ccfba01e0699eb22a7e646 /ext/xslt/xslt.c | |
parent | 9250827af6dc481e284a769904063bfd73ba136c (diff) | |
download | php-git-328396920be3105f021bef9cc27b767aba3f4fb0.tar.gz |
php_error -> php_error_docref
Diffstat (limited to 'ext/xslt/xslt.c')
-rw-r--r-- | ext/xslt/xslt.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/xslt/xslt.c b/ext/xslt/xslt.c index f6fff34979..f6f09acdb2 100644 --- a/ext/xslt/xslt.c +++ b/ext/xslt/xslt.c @@ -92,8 +92,7 @@ extern void xslt_make_array(zval **zarr, char ***carr) arr = HASH_OF(*zarr); if (! arr) { - php_error(E_WARNING, "Invalid argument or parameter array to %s", - get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid argument or parameter array"); return; } @@ -111,8 +110,7 @@ extern void xslt_make_array(zval **zarr, char ***carr) type = zend_hash_get_current_key(arr, &string_key, &num_key, 0); if (type == HASH_KEY_IS_LONG) { - php_error(E_WARNING, "Invalid key value for argument or parameter array to %s", - get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid key value for argument or parameter array"); /* Make the next index NULL, so it signals the end of the array this will protect against invalid arrays, like: array('foo'=>'bar', 'foobarred', 'oops') */ @@ -252,7 +250,7 @@ extern void xslt_call_function(char *name, } if (error == FAILURE) { - php_error(E_WARNING, "Cannot call the %s handler: %s", + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot call the %s handler: %s", name, Z_STRVAL_P(function)); } |