mirror of
https://github.com/php/php-src.git
synced 2024-10-14 13:02:37 +00:00
315f4f5658
Took the old PHP 3 regression testing framework and rewrote it in PHP. Should work on both Windows and UNIX, however I have not tested it on Windows. See tests/README for how to write tests. Added the PHP 3 tests and converted most of them.
10 lines
169 B
PHP
10 lines
169 B
PHP
--TEST--
|
|
Long back references
|
|
--POST--
|
|
--GET--
|
|
--FILE--
|
|
<?php $a="abc122222222223";
|
|
echo ereg_replace("1(2*)3","\\1def\\1",$a)?>
|
|
--EXPECT--
|
|
abc2222222222def2222222222
|