Open
Description
Summary
The version specific PHP ifdefs should refer to the named version only and not the named version or higher.
Desired Behavior
PHP7
should only refer to PHP version 7, not version 8 in order to be consistent with the PHP5
and PHP8
ifdefs.
Possible Solution
We may also want to consider adding something like a PHP7_PLUS
ifdef in order to avoid the more complex zend module version comparison ifdef used now.
Additional context
PR #49 is where the PHP8
ifdef was first added and when the inconsistency was introduced (since there is now a version greater than PHP 7.x).