Browse Source
Update get_class_name semantics
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.pull/873/head
12 changed files with 32 additions and 96 deletions
-
31Zend/zend.c
-
21Zend/zend_API.c
-
1Zend/zend_API.h
-
16Zend/zend_builtin_functions.c
-
7Zend/zend_exceptions.c
-
15Zend/zend_object_handlers.c
-
5Zend/zend_object_handlers.h
-
2ext/com_dotnet/com_handlers.c
-
2ext/com_dotnet/com_saproxy.c
-
8ext/pdo/pdo_stmt.c
-
2ext/standard/php_incomplete_class.h
-
18ext/standard/var.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue