@@ -1089,7 +1089,7 @@ static union _zend_function *zend_std_get_method(zend_object **obj_ptr, zend_str
10891089 /* Ensure that if we're calling a private function, we're allowed to do so.
10901090 * If we're not and __call() handler exists, invoke it, otherwise error out.
10911091 */
1092- updated_fbc = zend_check_private_int (fbc , zobj -> handlers -> get_class_entry ( zobj TSRMLS_CC ) , lc_method_name TSRMLS_CC );
1092+ updated_fbc = zend_check_private_int (fbc , zobj -> ce , lc_method_name TSRMLS_CC );
10931093 if (EXPECTED (updated_fbc != NULL )) {
10941094 fbc = updated_fbc ;
10951095 } else {
@@ -1525,12 +1525,6 @@ static int zend_std_has_property(zval *object, zval *member, int has_set_exists,
15251525}
15261526/* }}} */
15271527
1528- zend_class_entry * zend_std_object_get_class (const zend_object * object TSRMLS_DC ) /* {{{ */
1529- {
1530- return object -> ce ;
1531- }
1532- /* }}} */
1533-
15341528zend_string * zend_std_object_get_class_name (const zend_object * zobj , int parent TSRMLS_DC ) /* {{{ */
15351529{
15361530 zend_class_entry * ce ;
@@ -1660,7 +1654,6 @@ ZEND_API zend_object_handlers std_object_handlers = {
16601654 zend_std_get_method , /* get_method */
16611655 NULL , /* call_method */
16621656 zend_std_get_constructor , /* get_constructor */
1663- zend_std_object_get_class , /* get_class_entry */
16641657 zend_std_object_get_class_name , /* get_class_name */
16651658 zend_std_compare_objects , /* compare_objects */
16661659 zend_std_cast_object_tostring , /* cast_object */
0 commit comments