summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-06 11:46:23 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-06 11:46:23 +0200
commit3372f2cf2cd90e899c3b412ec38f2eebc7e106b3 (patch)
treed567dfee186362409ad950b7dff2fe8a6ce229b3 /Zend/zend_operators.c
parentb2b528b97325e243d6c18e55b3a5fcb1cf19641a (diff)
downloadphp-git-3372f2cf2cd90e899c3b412ec38f2eebc7e106b3.tar.gz
php_zip_pcre: Match pattern before stating for directories
For two reasons: First, it's generally cheaper to match a regex than perform a stat (especially on Windows). Second, it will not fail on concurrent modification of a directory in parts that are not matched by the pattern, such as the spurious failure in ext/zip/tests/bug72660.phpt.
Diffstat (limited to 'Zend/zend_operators.c')
0 files changed, 0 insertions, 0 deletions