summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/php_pdo_sqlite_int.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-12-13 19:00:51 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-12-13 23:55:33 +0100
commit2b7eb0e26a1816a3c5ddb28dd53f98ae0ecef047 (patch)
treed2c2a44268678ce0beb01dad86e66803db613fdc /ext/pdo_sqlite/php_pdo_sqlite_int.h
parent269a8841ae6edae3bc0ed8675390c78bd9f09bd8 (diff)
downloadphp-git-2b7eb0e26a1816a3c5ddb28dd53f98ae0ecef047.tar.gz
Disallow version_compare() $operator abbreviations
`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.
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h')
0 files changed, 0 insertions, 0 deletions