diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-30 08:24:42 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-30 08:24:42 +0000 |
| commit | c43806f4152c3ff908c7ead039daf5e163700f0e (patch) | |
| tree | 8e6eb9e2aef084f04a7bfeb7269dd4d5186ac0c4 /ext/xslt | |
| parent | 4187439cfffdbb2573453ea41a3c344632405f47 (diff) | |
| download | php-git-c43806f4152c3ff908c7ead039daf5e163700f0e.tar.gz | |
Zend compatibility patch
Diffstat (limited to 'ext/xslt')
| -rw-r--r-- | ext/xslt/xslt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/xslt/xslt.c b/ext/xslt/xslt.c index 48cffef156..54e6e85714 100644 --- a/ext/xslt/xslt.c +++ b/ext/xslt/xslt.c @@ -81,11 +81,12 @@ extern void xslt_make_array(zval **zarr, char ***carr) zval **current; HashTable *arr; int idx = 0; + TSRMLS_FETCH(); arr = HASH_OF(*zarr); if (! arr) { php_error(E_WARNING, "Invalid argument or parameter array to %s", - get_active_function_name()); + get_active_function_name(TSRMLS_C)); return; } @@ -104,7 +105,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 argument or parameter array to %s", - get_active_function_name()); + get_active_function_name(TSRMLS_C)); return; } @@ -229,7 +230,7 @@ extern void xslt_call_function(char *name, /* Call the function */ error = call_user_function_ex(EG(function_table), NULL, function, - retval, argc, argv, 0, NULL); + retval, argc, argv, 0, NULL TSRMLS_CC); if (error == FAILURE) { php_error(E_WARNING, "Cannot call the %s handler: %s", name, Z_STRVAL_P(function)); |
