xref: /PHP-5.3/ext/ereg/tests/009.phpt (revision 1881091e)
1--TEST--
2Test split()
3--FILE--
4<?php
5	$a=split("[[:space:]]","this is	a
6test");
7	echo count($a) . "\n";
8	for ($i = 0; $i < count($a); $i++) {
9          echo $a[$i] . "\n";
10        }
11?>
12--EXPECTF--
13Deprecated: Function split() is deprecated in %s on line %d
144
15this
16is
17a
18test
19