summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_opcode.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-27 11:23:49 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-10-27 11:42:01 +0100
commitd776d25a8e6763bfe8cc283a4693d7d417d50ddd (patch)
tree6b71c980c5c9083cd7648f3495ab014b0edc0091 /sapi/phpdbg/phpdbg_opcode.c
parent76e4bf3068bc7f92a2ece604344a92fd4d6c683d (diff)
downloadphp-git-d776d25a8e6763bfe8cc283a4693d7d417d50ddd.tar.gz
Don't throw for out of bounds offsets in strspn()
Make strspn($str1, $str2, $offset, $length) behaviorally equivalent to strspn(substr($str1, $offset, $length), $str2) by not throwing for out of bounds offset. There have been two reports that this change cause issues, including bug #80285.
Diffstat (limited to 'sapi/phpdbg/phpdbg_opcode.c')
0 files changed, 0 insertions, 0 deletions