Skip to content

Commit b2234a0

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Require PHP 7.4 at least for running the build system
2 parents 36fdc6f + 4af695e commit b2234a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/php.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,8 +1900,8 @@ AC_DEFUN([PHP_PROG_PHP],[
19001900
set $php_version
19011901
IFS=$ac_IFS
19021902
php_version_num=`expr [$]{1:-0} \* 10000 + [$]{2:-0} \* 100 + [$]{3:-0}`
1903-
dnl Minimum supported version for gen_stubs.php is PHP 7.1.
1904-
if test "$php_version_num" -lt 70100; then
1903+
dnl Minimum supported version for gen_stub.php is PHP 7.4.
1904+
if test "$php_version_num" -lt 70400; then
19051905
AC_MSG_RESULT([$php_version (too old)])
19061906
unset PHP
19071907
else

0 commit comments

Comments
 (0)