summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-04-05 03:33:08 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-04-05 03:33:08 +0200
commit1b6f61e7c4330b0f7abcc29c80f3c94bc6d13ce5 (patch)
tree7c8af8ded9fc53d47982f0f964f605bce980b67c /ext/pcre/php_pcre.c
parenta34e73de5adf3999db66f0970da21bd0f6537595 (diff)
downloadphp-git-1b6f61e7c4330b0f7abcc29c80f3c94bc6d13ce5.tar.gz
Promote invalid case mode to ValueError in mb_case_converter
Add assertions to check the return value is not NULL as this indicates a bug. Add identical assertion to mb_strtoupper and mb_strtolower. This means these functions can't return false anymore, ammend stubs accordingly.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions