diff options
| author | Ben Fuhrmannek | 2021-08-17 10:21:23 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-08-17 10:21:23 +0200 |
| commit | 78527b1ef0834e8aa5490e2df4e21621f9256913 (patch) | |
| tree | f9540035c429208b8f8489bc10e554ff5d922703 /src | |
| parent | 333984c636ac3318f35efc78529186e63d3ce59e (diff) | |
php 7 compatibility
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp_php_compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp_php_compat.h b/src/sp_php_compat.h index 992c3e2..09d9a1f 100644 --- a/src/sp_php_compat.h +++ b/src/sp_php_compat.h | |||
| @@ -11,6 +11,9 @@ ZEND_API zend_string *zend_string_concat2( | |||
| 11 | _key = _p->key; \ | 11 | _key = _p->key; \ |
| 12 | _ptr = Z_PTR_P(_z); | 12 | _ptr = Z_PTR_P(_z); |
| 13 | 13 | ||
| 14 | // zend_result was introduced to replace ZEND_RESULT_CODE with PHP8 | ||
| 15 | typedef ZEND_RESULT_CODE zend_result; | ||
| 16 | |||
| 14 | #endif | 17 | #endif |
| 15 | 18 | ||
| 16 | #if PHP_VERSION_ID < 70300 | 19 | #if PHP_VERSION_ID < 70300 |
