diff options
Diffstat (limited to 'src/sp_execute.c')
| -rw-r--r-- | src/sp_execute.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_execute.c b/src/sp_execute.c index b81f408..a8798e4 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c | |||
| @@ -302,6 +302,8 @@ ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, | |||
| 302 | #else | 302 | #else |
| 303 | ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { | 303 | ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { |
| 304 | #endif | 304 | #endif |
| 305 | // TODO(jvoisin) handle recursive calls to `eval` | ||
| 306 | SPG(eval_source_string) = source_string; | ||
| 305 | zend_op_array* opline = orig_zend_compile_string(source_string, filename); | 307 | zend_op_array* opline = orig_zend_compile_string(source_string, filename); |
| 306 | sp_sloppy_modify_opcode(opline); | 308 | sp_sloppy_modify_opcode(opline); |
| 307 | return opline; | 309 | return opline; |
