mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() `version_compare()` does a sloppy check for the `$operators` argument which allows arbitrary abbreviations of the supported operators to be accepted. This is both undocumented and unexpected, and could lead to subtle BC breaks, if the order of the comparisions will be changed. Therefore we change to strict comparisons. Closes GH-6510. |
||
---|---|---|
.. | ||
php_sapi_name.phpt | ||
php_sapi_name_variation001.phpt | ||
phpversion.phpt | ||
version_compare.phpt | ||
version_compare_invalid_operator.phpt | ||
version_compare_op_abbrev.phpt |