@@ -892,15 +892,15 @@ static void zend_file_cache_serialize_class(zval *zv,
892892 SERIALIZE_PTR (ce -> iterator_funcs_ptr -> zf_next );
893893 SERIALIZE_PTR (ce -> iterator_funcs_ptr );
894894 }
895- if (ce -> dimension_handlers ) {
896- SERIALIZE_PTR (ce -> dimension_handlers -> read_dimension );
897- SERIALIZE_PTR (ce -> dimension_handlers -> has_dimension );
898- SERIALIZE_PTR (ce -> dimension_handlers -> fetch_dimension );
899- SERIALIZE_PTR (ce -> dimension_handlers -> write_dimension );
900- SERIALIZE_PTR (ce -> dimension_handlers -> append );
901- SERIALIZE_PTR (ce -> dimension_handlers -> fetch_append );
902- SERIALIZE_PTR (ce -> dimension_handlers -> unset_dimension );
903- SERIALIZE_PTR (ce -> dimension_handlers );
895+ if (ce -> dimension_functions ) {
896+ SERIALIZE_PTR (ce -> dimension_functions -> read_dimension );
897+ SERIALIZE_PTR (ce -> dimension_functions -> has_dimension );
898+ SERIALIZE_PTR (ce -> dimension_functions -> fetch_dimension );
899+ SERIALIZE_PTR (ce -> dimension_functions -> write_dimension );
900+ SERIALIZE_PTR (ce -> dimension_functions -> append );
901+ SERIALIZE_PTR (ce -> dimension_functions -> fetch_append );
902+ SERIALIZE_PTR (ce -> dimension_functions -> unset_dimension );
903+ SERIALIZE_PTR (ce -> dimension_functions );
904904 }
905905
906906 ZEND_MAP_PTR_INIT (ce -> static_members_table , NULL );
@@ -1738,15 +1738,15 @@ static void zend_file_cache_unserialize_class(zval *zv,
17381738 UNSERIALIZE_PTR (ce -> iterator_funcs_ptr -> zf_current );
17391739 UNSERIALIZE_PTR (ce -> iterator_funcs_ptr -> zf_next );
17401740 }
1741- if (ce -> dimension_handlers ) {
1742- UNSERIALIZE_PTR (ce -> dimension_handlers );
1743- UNSERIALIZE_PTR (ce -> dimension_handlers -> read_dimension );
1744- UNSERIALIZE_PTR (ce -> dimension_handlers -> has_dimension );
1745- UNSERIALIZE_PTR (ce -> dimension_handlers -> fetch_dimension );
1746- UNSERIALIZE_PTR (ce -> dimension_handlers -> write_dimension );
1747- UNSERIALIZE_PTR (ce -> dimension_handlers -> append );
1748- UNSERIALIZE_PTR (ce -> dimension_handlers -> fetch_append );
1749- UNSERIALIZE_PTR (ce -> dimension_handlers -> unset_dimension );
1741+ if (ce -> dimension_functions ) {
1742+ UNSERIALIZE_PTR (ce -> dimension_functions );
1743+ UNSERIALIZE_PTR (ce -> dimension_functions -> read_dimension );
1744+ UNSERIALIZE_PTR (ce -> dimension_functions -> has_dimension );
1745+ UNSERIALIZE_PTR (ce -> dimension_functions -> fetch_dimension );
1746+ UNSERIALIZE_PTR (ce -> dimension_functions -> write_dimension );
1747+ UNSERIALIZE_PTR (ce -> dimension_functions -> append );
1748+ UNSERIALIZE_PTR (ce -> dimension_functions -> fetch_append );
1749+ UNSERIALIZE_PTR (ce -> dimension_functions -> unset_dimension );
17501750 }
17511751
17521752 if (!(script -> corrupted )) {
0 commit comments