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 2191bc2 commit 68e351cCopy full SHA for 68e351c
buildconf
@@ -9,7 +9,7 @@ debug=0
9
# Go to project root.
10
cd $(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
11
12
-php_extra_version=$(grep '^AC_INIT(\[' configure.ac)
+php_extra_version=$(grep '^AC_INIT(' configure.ac)
13
case "$php_extra_version" in
14
*-dev*)
15
dev=1
win32/build/confutils.js
@@ -105,7 +105,7 @@ var PHP_VERSION_STRING = "7.3.0";
105
function get_version_numbers()
106
{
107
var cin = file_get_contents("configure.ac");
108
- var regex = /AC_INIT\(\[PHP\],\[(\d+)\.(\d+)\.(\d+)([^\]]*)\],.+\)/g;
+ var regex = /AC_INIT.+(\d+)\.(\d+)\.(\d+)([^\,^\]]*).+/g;
109
110
if (cin.match(new RegExp(regex))) {
111
PHP_VERSION = RegExp.$1;
0 commit comments