mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
4bba59d491
PHP-Parser 4.3.0 failed to recognize that the `match` keyword could be used as a class constant name. 4.9.0 also adds support for keywords in namespaced names. See https://github.com/nikic/PHP-Parser/releases So forcing regeneration of spl_iterators.stub.php failed. PECL extensions using gen_stub.php would also be affected by the same issue. ``` ext/spl/spl_iterators.stub.php public function __construct(Iterator $iterator, string $regex, int $mode = self::MATCH, int $flags = 0, int $preg_flags = 0) {} ``` Testing: I successfully regenerated stubs by setting forceRegeneration to true and running `touch **/*.stub.php; make`. The stubs did not change, as expected. Closes GH-6036 |
||
---|---|---|
.. | ||
ax_check_compile_flag.m4 | ||
ax_func_which_gethostbyname_r.m4 | ||
ax_gcc_func_attribute.m4 | ||
config-stubs | ||
config.guess | ||
config.sub | ||
gen_stub.php | ||
genif.sh | ||
libtool.m4 | ||
ltmain.sh | ||
Makefile.gcov | ||
Makefile.global | ||
order_by_dep.awk | ||
php_cxx_compile_stdcxx.m4 | ||
php.m4 | ||
pkg.m4 | ||
print_include.awk | ||
shtool |