You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
expr: non-integer argument
checking for php version... 7.2.24-0ubuntu0.16.04.16 (ok)
checking whether to enable computed goto gcc extension with re2c... no
/path/php-src/configure: line 5862: test: : integer expression expected
...
Thank you for using PHP.
Activity
SVGAnimate commentedon Jun 24, 2023
To fix the "too old" error, I can run the configuration again with a specific version (the newly compiled php version) as well
Resulted in this output:
But I expected this output instead:
Can we fix this bug like this ? https://github.com/SVGAnimate/php-src/blob/m4_php_version_cut_suffix/build/php.m4#L1895
ndossche commentedon Jun 25, 2023
@SVGAnimate
I can reproduce this with 8.3-dev. And your fix looks okay I think.
Fix GH-11522: PHP version check fails with '-' separator
Merge branch 'PHP-8.1' into PHP-8.2
Merge branch 'PHP-8.2'