summaryrefslogtreecommitdiff
path: root/ext/standard/tests/reg/008.phpt
blob: 9a0cedabc5338480e85d721f5daec8ad662ea557 (plain)
1
2
3
4
5
6
7
8
--TEST--
Test back-references in regular expressions
--FILE--
<?php
	echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
?>
--EXPECT--
123 abc +-|=