mb_eregi_replace()
function mb_eregi_replace(string $pattern, string $replacement, string $string, ?string $options = null): string|false|null
Replaces multibyte regex matches without case sensitivity.
Parameters:
$pattern(string)$replacement(string)$string(string)$options(?string), defaultnull, optional
Returns: string|false|null
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/mb_eregi_replace.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_eregi_replace is implemented in the compiler, see the internals page.