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
/
009.phpt
blob
513f31a83e7839b7de35b978300eabb62fdbf8e8
1
--TEST--
2
Test split()
3
--FILE--
4
<?php
5
$a=split("[[:space:]]","this is a
6
test");
7
echo count($a) . "\n";
8
for ($i = 0; $i < count($a); $i++) {
9
echo $a[$i] . "\n";
10
}
11
?>
12
--EXPECTF--
13
Deprecated: Function split() is deprecated in %s on line %d
14
4
15
this
16
is
17
a
18
test