@@ -882,6 +882,16 @@ static void zend_file_cache_serialize_class(zval *zv,
882
882
SERIALIZE_PTR (ce -> arrayaccess_funcs_ptr -> zf_offsetunset );
883
883
SERIALIZE_PTR (ce -> arrayaccess_funcs_ptr );
884
884
}
885
+ if (ce -> dimension_handlers ) {
886
+ SERIALIZE_PTR (ce -> dimension_handlers -> read_dimension );
887
+ SERIALIZE_PTR (ce -> dimension_handlers -> has_dimension );
888
+ SERIALIZE_PTR (ce -> dimension_handlers -> fetch_dimension );
889
+ SERIALIZE_PTR (ce -> dimension_handlers -> write_dimension );
890
+ SERIALIZE_PTR (ce -> dimension_handlers -> append );
891
+ SERIALIZE_PTR (ce -> dimension_handlers -> fetch_append );
892
+ SERIALIZE_PTR (ce -> dimension_handlers -> unset_dimension );
893
+ SERIALIZE_PTR (ce -> dimension_handlers );
894
+ }
885
895
886
896
ZEND_MAP_PTR_INIT (ce -> static_members_table , NULL );
887
897
ZEND_MAP_PTR_INIT (ce -> mutable_data , NULL );
@@ -1708,6 +1718,16 @@ static void zend_file_cache_unserialize_class(zval *zv,
1708
1718
UNSERIALIZE_PTR (ce -> arrayaccess_funcs_ptr -> zf_offsetset );
1709
1719
UNSERIALIZE_PTR (ce -> arrayaccess_funcs_ptr -> zf_offsetunset );
1710
1720
}
1721
+ if (ce -> dimension_handlers ) {
1722
+ UNSERIALIZE_PTR (ce -> dimension_handlers );
1723
+ UNSERIALIZE_PTR (ce -> dimension_handlers -> read_dimension );
1724
+ UNSERIALIZE_PTR (ce -> dimension_handlers -> has_dimension );
1725
+ UNSERIALIZE_PTR (ce -> dimension_handlers -> fetch_dimension );
1726
+ UNSERIALIZE_PTR (ce -> dimension_handlers -> write_dimension );
1727
+ UNSERIALIZE_PTR (ce -> dimension_handlers -> append );
1728
+ UNSERIALIZE_PTR (ce -> dimension_handlers -> fetch_append );
1729
+ UNSERIALIZE_PTR (ce -> dimension_handlers -> unset_dimension );
1730
+ }
1711
1731
1712
1732
if (!(script -> corrupted )) {
1713
1733
ce -> ce_flags |= ZEND_ACC_IMMUTABLE ;
0 commit comments