From 78527b1ef0834e8aa5490e2df4e21621f9256913 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Tue, 17 Aug 2021 10:21:23 +0200 Subject: php 7 compatibility --- src/sp_php_compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sp_php_compat.h') 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( _key = _p->key; \ _ptr = Z_PTR_P(_z); +// zend_result was introduced to replace ZEND_RESULT_CODE with PHP8 +typedef ZEND_RESULT_CODE zend_result; + #endif #if PHP_VERSION_ID < 70300 -- cgit v1.3