iliaa Tue Jul 25 12:34:39 2006 UTC Added files: (Branch: PHP_5_2) /php-src/ext/reflection/tests bug38194.phpt
Modified files: /php-src NEWS /php-src/ext/reflection php_reflection.c Log: Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the class itself). http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.141&r2=1.2027.2.547.2.142&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.141 php-src/NEWS:1.2027.2.547.2.142 --- php-src/NEWS:1.2027.2.547.2.141 Mon Jul 24 18:53:01 2006 +++ php-src/NEWS Tue Jul 25 12:34:38 2006 @@ -1,6 +1,8 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Aug 2006, PHP 5.2.0RC2 +- Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the class + itself). (Ilia) 24 Jul 2006, PHP 5.2.0RC1 - Updated bundled MySQL client library to version 5.0.22 in the Windows @@ -204,7 +206,7 @@ - Fixed bug #37313 (sigemptyset() used without including <signal.h>). (jdolecek) - Fixed bug #37306 (max_execution_time = max_input_time). (Dmitry) -- Fixed Bug #37278 (SOAP not respecting uri in __soapCall). (Dmitry) +- Fixed bug #37278 (SOAP not respecting uri in __soapCall). (Dmitry) - Fixed bug #37256 (php-fastcgi doesn't handle connection abort). (Dmitry) - Fixed bug #37244 (Added strict flag to base64_decode() that enforces RFC3548 compliance). (Ilia) http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r1=1.164.2.33.2.14&r2=1.164.2.33.2.15&diff_format=u Index: php-src/ext/reflection/php_reflection.c diff -u php-src/ext/reflection/php_reflection.c:1.164.2.33.2.14 php-src/ext/reflection/php_reflection.c:1.164.2.33.2.15 --- php-src/ext/reflection/php_reflection.c:1.164.2.33.2.14 Mon Jul 24 18:03:44 2006 +++ php-src/ext/reflection/php_reflection.c Tue Jul 25 12:34:38 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_reflection.c,v 1.164.2.33.2.14 2006/07/24 18:03:44 helly Exp $ */ +/* $Id: php_reflection.c,v 1.164.2.33.2.15 2006/07/25 12:34:38 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -3536,8 +3536,7 @@ return; } - - RETURN_BOOL(instanceof_function(ce, class_ce TSRMLS_CC)); + RETURN_BOOL((ce != class_ce && instanceof_function(ce, class_ce TSRMLS_CC))); } /* }}} */ @@ -4768,7 +4767,7 @@ php_info_print_table_start(); php_info_print_table_header(2, "Reflection", "enabled"); - php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.164.2.33.2.14 2006/07/24 18:03:44 helly Exp $"); + php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.164.2.33.2.15 2006/07/25 12:34:38 iliaa Exp $"); php_info_print_table_end(); } /* }}} */ http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/tests/bug38194.phpt?view=markup&rev=1.1 Index: php-src/ext/reflection/tests/bug38194.phpt +++ php-src/ext/reflection/tests/bug38194.phpt -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php