php-src/ext/ereg/tests/001.phpt
2008-11-18 17:55:07 +00:00

9 lines
179 B
PHP

--TEST--
RegReplace test 1
--FILE--
<?php $a="abc123";
echo ereg_replace("123","def",$a)?>
--EXPECTF--
Deprecated: Function ereg_replace() is deprecated in %s on line %d
abcdef