Re: com php-src: Update get_class_name semantics: Zend/zend.c Zend/zend_API.c Zend/zend_API.h Zend/zend_builtin_functions.c Zend/zend_exceptions.c
Zend/zend_object_handlers.c Zend/zend_object_handlers.h ext/com_dotnet/com_handlers.c ext/com_dotnet/com_saproxy.c ext/pdo/pdo_stmt.c
ext/standard/php_incomplete_class.h ext/standard/var.c

From: Date: Wed, 12 Aug 2015 15:31:33 +0000
Subject: Re: com php-src: Update get_class_name semantics: Zend/zend.c Zend/zend_API.c Zend/zend_API.h Zend/zend_builtin_functions.c Zend/zend_exceptions.c
Zend/zend_object_handlers.c Zend/zend_object_handlers.h ext/com_dotnet/com_handlers.c ext/com_dotnet/com_saproxy.c ext/pdo/pdo_stmt.c
ext/standard/php_incomplete_class.h ext/standard/var.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88494@lists.php.net to get a copy of this message
On Thu, Oct 9, 2014 at 8:48 PM, Nikita Popov <nikic@php.net> wrote: > Commit: df79b9b27af70afe502979c84a981d36ed9d86a8 > Author: Nikita Popov <nikic@php.net> Thu, 9 Oct 2014 19:15:07 > +0200 > Parents: c061c8294514fb8eae7b96f77839312244a50048 > Branches: master > > Link: > > http://git.php.net/?p=php-src.git;a=commitdiff;h=df79b9b27af70afe502979c84a981d36ed9d86a8 > > Log: > Update get_class_name semantics > > * get_class_name is now only used for displaying the class name > in debugging functions like var_dump, print_r, etc. It is no > longer used in get_class() etc. > * As it is no longer used in get_parent_class() the parent > argument is now gone. This also fixes incorrect parent classes > being reported in COM. > * get_class_name is now always required (previously some places > made it optional and some required it) and is also required > to return a non-NULL value. > * Remove zend_get_object_classname. This also fixes a number of > potential leaks due to incorrect usage of this function. > > Changed paths: > M Zend/zend.c > M Zend/zend_API.c > M Zend/zend_API.h > M Zend/zend_builtin_functions.c > M Zend/zend_exceptions.c > M Zend/zend_object_handlers.c > M Zend/zend_object_handlers.h > M ext/com_dotnet/com_handlers.c > M ext/com_dotnet/com_saproxy.c > M ext/pdo/pdo_stmt.c > M ext/standard/php_incomplete_class.h > M ext/standard/var.c > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > hi Nikita, could you mention these changes in UPGRADING.INTERNALS (for example the removal of zend_get_object_classname() isn't mentioned anywhere)? thanks! -- Ferenc Kovács @Tyr43l - http://tyrael.hu

« previous php.cvs (#88494) next »