dmitry                                   Thu, 15 Sep 2011 10:59:39 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=316811

Log:
Reverted the fix for #55475 (is_a() triggers autoloader) before the common 
decision

Bug: https://bugs.php.net/55475 (Closed) is_a() triggers autoloader
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/NEWS
    U   php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c

Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS   2011-09-15 09:58:33 UTC (rev 316810)
+++ php/php-src/branches/PHP_5_3/NEWS   2011-09-15 10:59:39 UTC (rev 316811)
@@ -11,7 +11,6 @@
   . Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence)
   . Fixed bug #55504 (Content-Type header is not parsed correctly on
     HTTP POST request). (Hannes)
-  . Fixed bug #55475 (is_a() triggers autoloader). (alan at akbkhome dot com)
   . Fixed bug #52461 (Incomplete doctype and missing xmlns).
     (virsacer at web dot de, Pierre)
   . Fixed bug #55366: keys lost when using substr_replace an array. (Arpad)

Modified: php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c  2011-09-15 
09:58:33 UTC (rev 316810)
+++ php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c  2011-09-15 
10:59:39 UTC (rev 316811)
@@ -822,7 +822,7 @@
                return;
        }

-       if (only_subclass && Z_TYPE_P(obj) == IS_STRING) {
+       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) {
                        RETURN_FALSE;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to