![]() ![]() | ![]() |
1.1 ! misho 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