summaryrefslogtreecommitdiff
path: root/ext/ereg/tests/009.phpt
blob: 4996ef4c97370061296faf34692f63995422e7ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Test split()
--POST--
--GET--
--FILE--
<?php
	$a=split("[[:space:]]","this is	a
test");
	echo count($a) . "\n";
	for ($i = 0; $i < count($a); $i++) {
          echo $a[$i] . "\n";
        }
?>
--EXPECT--
4
this
is
a
test