diff options
| author | jvoisin | 2020-11-30 17:01:28 +0100 |
|---|---|---|
| committer | jvoisin | 2020-11-30 17:01:28 +0100 |
| commit | a60798c68db2dd627987e1429b169dbcd460bf2a (patch) | |
| tree | cc771a34cc99a9d54347031ab757b5a0d452743d | |
| parent | 95ee1fa689c335233df3345ce1fd0780b79ed2bc (diff) | |
Fix an other type mismatch in zend_compile_string
| -rw-r--r-- | src/sp_sloppy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_sloppy.c b/src/sp_sloppy.c index a2d6b43..d9c9e8d 100644 --- a/src/sp_sloppy.c +++ b/src/sp_sloppy.c | |||
| @@ -26,7 +26,7 @@ static void modify_opcode(zend_op_array* opline) { | |||
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | #if PHP_VERSION_ID >= 80000 | 28 | #if PHP_VERSION_ID >= 80000 |
| 29 | ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, char* filename) { | 29 | ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, const char* filename) { |
| 30 | #else | 30 | #else |
| 31 | ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { | 31 | ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { |
| 32 | #endif | 32 | #endif |
