Patch bug55475 for Scripting Engine problem Bug #55475
Patch version 2011-08-22 10:30 UTC
Return to Bug #55475 |
Download this patch
Patch Revisions:
Developer: kalle@php.net
Index: Zend/zend_builtin_functions.c
===================================================================
--- Zend/zend_builtin_functions.c (revision 315269)
+++ Zend/zend_builtin_functions.c (working copy)
@@ -824,7 +824,7 @@
if (Z_TYPE_P(obj) == IS_STRING) {
zend_class_entry **the_ce;
- if (zend_lookup_class(Z_STRVAL_P(obj), Z_STRLEN_P(obj), &the_ce TSRMLS_CC) == FAILURE) {
+ if (zend_lookup_class_ex(Z_STRVAL_P(obj), Z_STRLEN_P(obj), only_subclass, &the_ce TSRMLS_CC) == FAILURE) {
RETURN_FALSE;
}
instance_ce = *the_ce;
|