summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_commands.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-03-19 15:35:15 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-03-19 15:35:15 +0100
commitf53e7394eb61085c09928b47f84123bd90b64dfb (patch)
treecd775180bc14b2a85e8a14707261b43040826989 /ext/mysqlnd/mysqlnd_commands.c
parent2783670daa7831b61937ab91f5d2cd84d63de5fd (diff)
downloadphp-git-f53e7394eb61085c09928b47f84123bd90b64dfb.tar.gz
Respect OFFSET_CAPTURE when padding preg_match_all() results
This issue was mentioned in bug #73948. The PREG_PATTERN_ORDER padding was performed without respecting the PREF_OFFSET_CAPTURE flag, which resulted in unmatched subpatterns being either null or [null, -1] depending on where they occur. Now they will always be [null, -1], consistent with other usages.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_commands.c')
0 files changed, 0 insertions, 0 deletions