[php] Fix minor version test

This commit is contained in:
Olly Betts 2022-01-21 13:09:47 +13:00
commit 772ea68084

View file

@ -97,7 +97,7 @@ static zend_class_entry SWIG_Php_swig_wrapped_interface_ce;
#if PHP_MAJOR_VERSION == 7
/* The sense of parameter 3 of instanceof_function_ex() changed in PHP 7.4! */
# if PHP_MINOR <= 3
# if PHP_MINOR_VERSION <= 3
# define zend_class_implements_interface(C, I) instanceof_function_ex(C, I, 0)
# else
# define zend_class_implements_interface(C, I) instanceof_function_ex(C, I, 1)