split string in php on variable char code example
Example 1: how to split sting in php
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>
Example 2: character split php
str_split ( string $string [, int $split_length = 1 ] ) : array