Variant f_eregi(CStrRef pattern, CStrRef str, VRefParam regs /* = null */) { return f_mb_eregi(pattern, str, ref(regs)); }
Variant HHVM_FUNCTION(eregi, const String& pattern, const String& str, VRefParam regs /* = null */) { return f_mb_eregi(pattern, str, ref(regs)); }
bool TestExtMb::test_mb_eregi() { String str = "XYZ"; VERIFY(f_mb_eregi("z", str)); return Count(true); }