diff options
Diffstat (limited to 'src/sp_execute.c')
| -rw-r--r-- | src/sp_execute.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp_execute.c b/src/sp_execute.c index 84f6275..300d05c 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c | |||
| @@ -336,7 +336,7 @@ static zend_result sp_stream_open(zend_file_handle *handle) { | |||
| 336 | 336 | ||
| 337 | ZEND_API zend_op_array* (*orig_zend_compile_file)(zend_file_handle* file_handle, | 337 | ZEND_API zend_op_array* (*orig_zend_compile_file)(zend_file_handle* file_handle, |
| 338 | int type) = NULL; | 338 | int type) = NULL; |
| 339 | #if PHP_VERSION_ID >= 82000 | 339 | #if PHP_VERSION_ID >= 80200 |
| 340 | ZEND_API zend_op_array* (*orig_zend_compile_string)( | 340 | ZEND_API zend_op_array* (*orig_zend_compile_string)( |
| 341 | zend_string* source_string, const char* filename, | 341 | zend_string* source_string, const char* filename, |
| 342 | enum _zend_compile_position position) = NULL; | 342 | enum _zend_compile_position position) = NULL; |
| @@ -348,7 +348,7 @@ ZEND_API zend_op_array* (*orig_zend_compile_string)(zval* source_string, | |||
| 348 | char* filename) = NULL; | 348 | char* filename) = NULL; |
| 349 | #endif | 349 | #endif |
| 350 | 350 | ||
| 351 | #if PHP_VERSION_ID >= 82000 | 351 | #if PHP_VERSION_ID >= 80200 |
| 352 | ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, | 352 | ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, |
| 353 | const char* filename, | 353 | const char* filename, |
| 354 | enum _zend_compile_position position) { | 354 | enum _zend_compile_position position) { |
| @@ -361,7 +361,7 @@ ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { | |||
| 361 | // TODO(jvoisin) handle recursive calls to `eval` | 361 | // TODO(jvoisin) handle recursive calls to `eval` |
| 362 | SPG(eval_source_string) = source_string; | 362 | SPG(eval_source_string) = source_string; |
| 363 | zend_op_array* opline = orig_zend_compile_string(source_string, filename | 363 | zend_op_array* opline = orig_zend_compile_string(source_string, filename |
| 364 | #if PHP_VERSION_ID >= 82000 | 364 | #if PHP_VERSION_ID >= 80200 |
| 365 | , position | 365 | , position |
| 366 | #endif | 366 | #endif |
| 367 | ); | 367 | ); |
