diff options
| author | Marcus Boerger <helly@php.net> | 2008-02-04 17:07:07 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2008-02-04 17:07:07 +0000 |
| commit | 36caad562831dafd542f500577d5cba3036d397f (patch) | |
| tree | 8f7ecac2338d1c5bb6262b6e44f9a4109c1b774e /ext/spl/php_spl.c | |
| parent | fdf95a00dcfc74a222913141755e02d812645f58 (diff) | |
| download | php-git-36caad562831dafd542f500577d5cba3036d397f.tar.gz | |
- MFH Fix messages and tests
Diffstat (limited to 'ext/spl/php_spl.c')
| -rwxr-xr-x | ext/spl/php_spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 14a90d8f84..d6122d3f15 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -378,7 +378,7 @@ PHP_FUNCTION(spl_autoload_call) zend_hash_get_current_data_ex(SPL_G(autoload_functions), (void **) &alfi, &function_pos); zend_call_method(alfi->obj ? &alfi->obj : NULL, alfi->ce, &alfi->func_ptr, func_name, func_name_len, &retval, 1, class_name, NULL TSRMLS_CC); if (retval) { - zval_ptr_dtor(&retval); + zval_ptr_dtor(&retval); } if (zend_hash_exists(EG(class_table), lc_name, class_name_len + 1)) { break; @@ -435,7 +435,7 @@ PHP_FUNCTION(spl_autoload_register) RETURN_FALSE; } else if (do_throw) { - zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Passed array does not specify %s %smethod, (%s)", alfi.func_ptr ? "a callable" : "an existing", !obj_ptr ? "static " : "", error); + zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Passed array does not specify %s %smethod (%s)", alfi.func_ptr ? "a callable" : "an existing", !obj_ptr ? "static " : "", error); } if (error) { efree(error); |
