File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,9 @@ static zend_ast *zend_persist_ast(zend_ast *ast)
195
195
zend_persist_op_array (& z );
196
196
copy -> op_array = Z_PTR (z );
197
197
node = (zend_ast * ) copy ;
198
+ } else if (ast -> kind == ZEND_AST_CALLABLE_CONVERT ) {
199
+ zend_ast_fcc * copy = zend_shared_memdup (ast , sizeof (zend_ast_fcc ));
200
+ node = (zend_ast * ) copy ;
198
201
} else if (zend_ast_is_decl (ast )) {
199
202
/* Not implemented. */
200
203
ZEND_UNREACHABLE ();
Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ static void zend_persist_ast_calc(zend_ast *ast)
91
91
zval z ;
92
92
ZVAL_PTR (& z , zend_ast_get_op_array (ast )-> op_array );
93
93
zend_persist_op_array_calc (& z );
94
+ } else if (ast -> kind == ZEND_AST_CALLABLE_CONVERT ) {
95
+ ADD_SIZE (sizeof (zend_ast_fcc ));
94
96
} else if (zend_ast_is_decl (ast )) {
95
97
/* Not implemented. */
96
98
ZEND_UNREACHABLE ();
You can’t perform that action at this time.
0 commit comments