File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 27
27
28
28
static zend_class_entry * zend_test_interface ;
29
29
static zend_class_entry * zend_test_class ;
30
+ static zend_class_entry * zend_test_child_class ;
30
31
static zend_class_entry * zend_test_trait ;
31
32
static zend_object_handlers zend_test_class_handlers ;
32
33
@@ -192,6 +193,11 @@ PHP_MINIT_FUNCTION(zend_test)
192
193
zend_test_class -> create_object = zend_test_class_new ;
193
194
zend_test_class -> get_static_method = zend_test_class_static_method_get ;
194
195
196
+ zend_declare_property_null (zend_test_class , "_StaticProp" , sizeof ("_StaticProp" ) - 1 , ZEND_ACC_STATIC );
197
+
198
+ INIT_CLASS_ENTRY (class_entry , "_ZendTestChildClass" , NULL );
199
+ zend_test_child_class = zend_register_internal_class_ex (& class_entry , zend_test_class );
200
+
195
201
memcpy (& zend_test_class_handlers , & std_object_handlers , sizeof (zend_object_handlers ));
196
202
zend_test_class_handlers .get_method = zend_test_class_method_get ;
197
203
zend_test_class_handlers .call_method = zend_test_class_call_method ;
You can’t perform that action at this time.
0 commit comments