2 Test ereg() function : basic functionality - long RE
5 /* Prototype : proto int ereg(string pattern, string string [, array registers])
6 * Description: Regular expression match
7 * Source code: ext/standard/reg.c
12 * Test a long RE with lots of matches
15 var_dump(ereg(str_repeat('(.)', 2048), str_repeat('x', 2048)));
16 var_dump(ereg(str_repeat('(.)', 2048), str_repeat('x', 2048), $regs));
17 var_dump(count($regs));
22 Deprecated: Function ereg() is deprecated in %s on line %d
25 Deprecated: Function ereg() is deprecated in %s on line %d