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