You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mbregex subset of ext/mbstring is entirely absent. Only mb_strlen() (and a few other mb_* helpers) exist under ext/types/. Legacy apps and some frameworks still call mb_ereg(), mb_eregi(), mb_ereg_replace(), mb_split(), etc.
Category
stdlibProblem
The mbregex subset of ext/mbstring is entirely absent. Only
mb_strlen()(and a few other mb_* helpers) exist underext/types/. Legacy apps and some frameworks still callmb_ereg(),mb_eregi(),mb_ereg_replace(),mb_split(), etc.php-src reference
ext/mbstring/mbregex.c—PHP_FUNCTION(mb_ereg),mb_eregi,mb_ereg_replace,mb_ereg_replace_callback,mb_splitext/mbstring/mbregex.hext/mbstring/mbstring.stub.php— signatures +mb_regex_encoding()Repro (failure today)
mb_ereg('^[a-z]+$', 'hello')1+matchScope (this repo)
mb_ereg,mb_eregi,mb_ereg_replace,mb_split,mb_regex_encoding,mb_regex_set_options\mb_*when ext/mbstring loaded; clear error when unavailableext/mbstring/Module.phpor extendext/types/Module.phptest/compliance/cases/stdlib/mb_ereg.phpt(skip when host lacks mbregex)Done when
matchon VM when host mbstring is available (Dockerphp-compiler:22.04-dev)mb_regex_encoding()get/set matches Zend for UTF-8 defaultfalse(not exception) per Zend./script/ci-fast.sh --filter mb_ereggreenRelated
mb_convert_encoding/mb_detect_encoding· Stdlib: mb_str_pad() — multibyte string padding (ext/mbstring/mbstring.c parity) #4006mb_str_pad· Epic: Self-host critical path — compiler compiles itself (M3→M5) #1492