mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
11 lines
190 B
Plaintext
11 lines
190 B
Plaintext
|
--TEST--
|
||
|
Test back-references in regular expressions
|
||
|
--POST--
|
||
|
--GET--
|
||
|
--FILE--
|
||
|
<?php
|
||
|
echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
123 abc +-|=
|