2 Test eregi() function : usage variations - pass non-variable as arg 3, which is pass-by-ref.
5 /* Prototype : proto int eregi(string pattern, string string [, array registers])
6 * Description: Regular expression match
7 * Source code: ext/standard/reg.c
11 var_dump(eregi('l{2}', 'hello', str_repeat('x',1)));
15 Strict Standards: Only variables should be passed by reference in %s on line %d
17 Deprecated: Function eregi() is deprecated in %s on line %d