We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9595c1a commit f71c22aCopy full SHA for f71c22a
configure.ac
@@ -101,9 +101,8 @@ extern "C++" {
101
])
102
103
PHP_VERSION=AC_PACKAGE_VERSION
104
-php_tmp_version="`echo $PHP_VERSION | $SED 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)\(.*\)/\1\.\2\.\3\.\4/'`"
105
-ac_IFS=$IFS
106
-IFS="."
+php_tmp_version=$(echo $PHP_VERSION | $SED 's/\([[0-9\.]]*\)\(.*\)/\1\.\2/')
+ac_IFS=$IFS; IFS="."
107
set $php_tmp_version
108
IFS=$ac_IFS
109
PHP_MAJOR_VERSION=[$]1
0 commit comments