summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-11-03 22:06:30 +0000
committerMarcus Boerger <helly@php.net>2005-11-03 22:06:30 +0000
commit2ca2153a06252e14bf23543d243395d7be2b38f4 (patch)
tree400ff9009052c3b18c52e09497f1cbcba8223007
parente464f0f45613ffdde42f421eb4c9d509ff6e9637 (diff)
downloadphp-git-2ca2153a06252e14bf23543d243395d7be2b38f4.tar.gz
- MFH Add missing check flag
-rwxr-xr-xext/spl/php_spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index c4171a6f03..aac340082d 100755
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -402,7 +402,7 @@ PHP_FUNCTION(spl_autoload_register)
}
}
- if (!zend_is_callable_ex(zcallable, 0, &func_name, &func_name_len, &alfi.ce, &alfi.func_ptr, &obj_ptr TSRMLS_CC)) {
+ if (!zend_is_callable_ex(zcallable, IS_CALLABLE_CHECK_IS_STATIC, &func_name, &func_name_len, &alfi.ce, &alfi.func_ptr, &obj_ptr TSRMLS_CC)) {
if (Z_TYPE_P(zcallable) == IS_ARRAY) {
if (!obj_ptr && alfi.func_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) {
if (do_throw) {