Skip to content

Commit 68c8a64

Browse files
committed
Update test for version constraints, as well as the error messages
1 parent e8d89de commit 68c8a64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if test "$PHP_XDEBUG" != "no"; then
1919
if test "$PHP_XDEBUG_FOUND_VERNUM" -lt "80000"; then
2020
AC_MSG_ERROR([not supported. Need a PHP version >= 8.0.0 and < 8.7.0 (found $PHP_XDEBUG_FOUND_VERSION)])
2121
else
22-
if test "$PHP_XDEBUG_FOUND_VERNUM" -ge "80600"; then
22+
if test "$PHP_XDEBUG_FOUND_VERNUM" -ge "80700"; then
2323
AC_MSG_ERROR([not supported. Need a PHP version >= 8.0.0 and < 8.7.0 (found $PHP_XDEBUG_FOUND_VERSION)])
2424
else
2525
AC_MSG_RESULT([supported ($PHP_XDEBUG_FOUND_VERSION)])

config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (PHP_XDEBUG != 'no') {
2121
var XDEBUG_PHP_VERSION = 10000 * PHP_VERSION + 100 * PHP_MINOR_VERSION + 1 * PHP_RELEASE_VERSION;
2222
if (XDEBUG_PHP_VERSION < 80000) {
2323
ERROR("not supported. Need a PHP version >= 8.0.0 and < 8.7.0 (found " + XDEBUG_PHP_VERSION + ")");
24-
} else if (XDEBUG_PHP_VERSION >= 80600) {
24+
} else if (XDEBUG_PHP_VERSION >= 80700) {
2525
ERROR("not supported. Need a PHP version >= 8.0.0 and < 8.7.0 (found " + XDEBUG_PHP_VERSION + ")");
2626
} else {
2727
MESSAGE("supported (" + XDEBUG_PHP_VERSION + ")");

0 commit comments

Comments
 (0)