cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c /tests bug43483.phpt

From: Date: Thu, 21 Feb 2008 15:14:27 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c /tests bug43483.phpt
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6450@lists.php.net to get a copy of this message
dmitry Thu Feb 21 15:14:27 2008 UTC Added files: (Branch: PHP_5_3) /ZendEngine2/tests bug43483.phpt Modified files: /ZendEngine2 zend_builtin_functions.c Log: Fixed bug #43483 (get_class_methods() does not list all visible methods) http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.277.2.12.2.25.2.11&r2=1.277.2.12.2.25.2.12&diff_format=u Index: ZendEngine2/zend_builtin_functions.c diff -u ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.11 ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.12 --- ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.11 Tue Feb 19 16:39:18 2008 +++ ZendEngine2/zend_builtin_functions.c Thu Feb 21 15:14:27 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.11 2008/02/19 16:39:18 dmitry Exp $ */ +/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.12 2008/02/21 15:14:27 dmitry Exp $ */ #include "zend.h" #include "zend_API.h" @@ -910,7 +910,7 @@ if ((mptr->common.fn_flags & ZEND_ACC_PUBLIC) || (EG(scope) && (((mptr->common.fn_flags & ZEND_ACC_PROTECTED) && - instanceof_function(EG(scope), mptr->common.scope TSRMLS_CC)) + zend_check_protected(mptr->common.scope, EG(scope))) || ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && EG(scope) == mptr->common.scope)))) { char *key; http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug43483.phpt?view=markup&rev=1.1 Index: ZendEngine2/tests/bug43483.phpt +++ ZendEngine2/tests/bug43483.phpt

« previous php.zend-engine.cvs (#6450) next »