xref: /PHP-5.5/ext/ereg/tests/008.phpt (revision 1881091e)
1--TEST--
2Test back-references in regular expressions
3--FILE--
4<?php
5	echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
6?>
7--EXPECTF--
8Deprecated: Function ereg_replace() is deprecated in %s on line %d
9123 abc +-|=
10