mirror of
https://github.com/php/php-src.git
synced 2026-03-27 01:32:22 +01:00
_php_mb_match_regex() is supposed to return != 0 on success, and 0 on failure. pcre2_match() returns >= 0 on success, and < 0 on failure. We map the result accordingly. Since this patch fixes four failing tests, there is no need to add another.
142 KiB
142 KiB