split variable in array php code example
Example 1: php split string
explode(" ","Geeks for Geeks")
Example 2: how to split sting in php
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>
explode(" ","Geeks for Geeks")
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>