mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fix GH-11522: PHP version check fails with '-' separator
This commit is contained in:
3
NEWS
3
NEWS
@@ -2,6 +2,9 @@ PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.2.9
|
||||
|
||||
- Build:
|
||||
. Fix GH-11522: PHP version check fails with '-' separator. (SVGAnimate)
|
||||
|
||||
- CLI:
|
||||
. Fix interrupted CLI output causing the process to exit. (nielsdos)
|
||||
|
||||
|
||||
@@ -1892,7 +1892,7 @@ AC_DEFUN([PHP_PROG_PHP],[
|
||||
|
||||
if test -n "$PHP"; then
|
||||
AC_MSG_CHECKING([for php version])
|
||||
php_version=$($PHP -v | head -n1 | cut -d ' ' -f 2)
|
||||
php_version=$($PHP -v | head -n1 | cut -d ' ' -f 2 | cut -d '-' -f 1)
|
||||
if test -z "$php_version"; then
|
||||
php_version=0.0.0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user