PHP_MINIT_FUNCTION(zend_test)
{
zend_class_entry class_entry;
- zend_bool persistent_str = EG(current_module)->type == MODULE_PERSISTENT;
INIT_CLASS_ENTRY(class_entry, "_ZendTestInterface", NULL);
zend_test_interface = zend_register_internal_interface(&class_entry);
zend_declare_property_null(zend_test_class, "_StaticProp", sizeof("_StaticProp") - 1, ZEND_ACC_STATIC);
{
- zend_string *name = zend_string_init("intProp", sizeof("intProp") - 1, persistent_str);
+ zend_string *name = zend_string_init("intProp", sizeof("intProp") - 1, 1);
zval val;
ZVAL_LONG(&val, 123);
zend_declare_typed_property(
}
{
- zend_string *name = zend_string_init("classProp", sizeof("classProp") - 1, persistent_str);
+ zend_string *name = zend_string_init("classProp", sizeof("classProp") - 1, 1);
zend_string *class_name = zend_string_init("stdClass", sizeof("stdClass") - 1, 1);
zval val;
ZVAL_NULL(&val);
}
{
- zend_string *name = zend_string_init("staticIntProp", sizeof("staticIntProp") - 1, persistent_str);
+ zend_string *name = zend_string_init("staticIntProp", sizeof("staticIntProp") - 1, 1);
zval val;
ZVAL_LONG(&val, 123);
zend_declare_typed_property(