php-src/ext/ereg/tests/007.phpt
2000-08-31 22:21:47 +00:00

13 lines
186 B
PHP

--TEST--
Test empty result buffer in reg_replace
--POST--
--GET--
--FILE--
<?php
$a="abcd";
$b=ereg_replace("abcd","",$a);
echo "strlen(\$b)=".strlen($b);
?>
--EXPECT--
strlen($b)=0