|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch revert.is_a.behaviour.to.ignoring.strings.diff for Scripting Engine problem Bug #55475Patch version 2011-08-25 02:37 UTC Return to Bug #55475 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: alan@akbkhome.com
Index: Zend/zend_builtin_functions.c
===================================================================
--- Zend/zend_builtin_functions.c (revision 315455)
+++ Zend/zend_builtin_functions.c (working copy)
@@ -845,7 +845,7 @@
return;
}
- if (Z_TYPE_P(obj) == IS_STRING) {
+ if (only_subclass && 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) {
RETURN_FALSE;
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 11:00:02 2025 UTC |