File tree Expand file tree Collapse file tree 6 files changed +7
-0
lines changed Expand file tree Collapse file tree 6 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ zend_object_value Collator_object_create(
67
67
intern = ecalloc ( 1 , sizeof (Collator_object ) );
68
68
intl_error_init ( COLLATOR_ERROR_P ( intern ) TSRMLS_CC );
69
69
zend_object_std_init ( & intern -> zo , ce TSRMLS_CC );
70
+ object_properties_init (& intern -> zo , ce );
70
71
71
72
retval .handle = zend_objects_store_put (
72
73
intern ,
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ zend_object_value IntlDateFormatter_object_create(zend_class_entry *ce TSRMLS_DC
63
63
intern = ecalloc ( 1 , sizeof (IntlDateFormatter_object ) );
64
64
dateformat_data_init ( & intern -> datef_data TSRMLS_CC );
65
65
zend_object_std_init ( & intern -> zo , ce TSRMLS_CC );
66
+ object_properties_init (& intern -> zo , ce );
66
67
intern -> date_type = 0 ;
67
68
intern -> time_type = 0 ;
68
69
intern -> calendar = 1 ; /* Gregorian calendar */
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ zend_object_value NumberFormatter_object_create(zend_class_entry *ce TSRMLS_DC)
62
62
intern = ecalloc ( 1 , sizeof (NumberFormatter_object ) );
63
63
formatter_data_init ( & intern -> nf_data TSRMLS_CC );
64
64
zend_object_std_init ( & intern -> zo , ce TSRMLS_CC );
65
+ object_properties_init (& intern -> zo , ce );
65
66
66
67
retval .handle = zend_objects_store_put (
67
68
intern ,
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ static zend_object_value ResourceBundle_object_create( zend_class_entry *ce TSRM
63
63
rb = ecalloc ( 1 , sizeof (ResourceBundle_object ) );
64
64
65
65
zend_object_std_init ( (zend_object * ) rb , ce TSRMLS_CC );
66
+ object_properties_init ((zend_object * ) rb , ce );
66
67
67
68
intl_error_init ( INTL_DATA_ERROR_P (rb ) TSRMLS_CC );
68
69
rb -> me = NULL ;
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ zend_object_value Spoofchecker_object_create(
61
61
intern = ecalloc (1 , sizeof (Spoofchecker_object ));
62
62
intl_error_init (SPOOFCHECKER_ERROR_P (intern ) TSRMLS_CC );
63
63
zend_object_std_init (& intern -> zo , ce TSRMLS_CC );
64
+ object_properties_init (& intern -> zo , ce );
64
65
65
66
retval .handle = zend_objects_store_put (
66
67
intern ,
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ static zend_object_value php_create_incomplete_object(zend_class_entry *class_ty
109
109
value = zend_objects_new (& object , class_type TSRMLS_CC );
110
110
value .handlers = & php_incomplete_object_handlers ;
111
111
112
+ object_properties_init (object , class_type );
113
+
112
114
return value ;
113
115
}
114
116
You can’t perform that action at this time.
0 commit comments