[php] Fix minor version test
This commit is contained in:
parent
c197ed719a
commit
772ea68084
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue