1--TEST-- 2mb_split() compat test 1 3--EXTENSIONS-- 4mbstring 5--SKIPIF-- 6<?php 7function_exists('mb_split') or die("skip mb_split() is not available in this build"); 8?> 9--FILE-- 10<?php 11/* (counterpart: ext/standard/tests/reg/009.phpt) */ 12 $a=mb_split("[[:space:]]","this is a 13test"); 14 echo count($a) . "\n"; 15 for ($i = 0; $i < count($a); $i++) { 16 echo $a[$i] . "\n"; 17 } 18?> 19--EXPECT-- 204 21this 22is 23a 24test 25