split by specific character php 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