File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -366,6 +366,9 @@ static void zend_file_cache_serialize_ast(zend_ast *ast,
366
366
} else if (ast -> kind == ZEND_AST_OP_ARRAY ) {
367
367
/* The op_array itself will be serialized as part of the dynamic_func_defs. */
368
368
SERIALIZE_PTR (zend_ast_get_op_array (ast )-> op_array );
369
+ } else if (ast -> kind == ZEND_AST_CALLABLE_CONVERT ) {
370
+ zend_ast_fcc * fcc = (zend_ast_fcc * )ast ;
371
+ ZEND_MAP_PTR_INIT (fcc -> fptr , NULL );
369
372
} else if (zend_ast_is_decl (ast )) {
370
373
/* Not implemented. */
371
374
ZEND_UNREACHABLE ();
@@ -1251,6 +1254,9 @@ static void zend_file_cache_unserialize_ast(zend_ast *ast,
1251
1254
} else if (ast -> kind == ZEND_AST_OP_ARRAY ) {
1252
1255
/* The op_array itself will be unserialized as part of the dynamic_func_defs. */
1253
1256
UNSERIALIZE_PTR (zend_ast_get_op_array (ast )-> op_array );
1257
+ } else if (ast -> kind == ZEND_AST_CALLABLE_CONVERT ) {
1258
+ zend_ast_fcc * fcc = (zend_ast_fcc * )ast ;
1259
+ ZEND_MAP_PTR_NEW (fcc -> fptr );
1254
1260
} else if (zend_ast_is_decl (ast )) {
1255
1261
/* Not implemented. */
1256
1262
ZEND_UNREACHABLE ();
You can’t perform that action at this time.
0 commit comments