repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git]
/
release
/
src
/
router
/
php
/
ext
/
ereg
/
tests
/
007.phpt
blob
3bbd6551b6d8139dfa7a8f216df4cd4cde56bab2
1
--TEST--
2
Test empty result buffer in reg_replace
3
--FILE--
4
<?php
5
$a="abcd";
6
$b=ereg_replace("abcd","",$a);
7
echo "strlen(\$b)=".strlen($b);
8
?>
9
--EXPECTF--
10
Deprecated: Function ereg_replace() is deprecated in %s on line %d
11
strlen($b)=0