1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Files
archived-php-src/ext/ereg/tests/008.phpt
T
2004-05-19 08:45:46 +00:00

9 lines
173 B
PHP

--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 +-|=