[ create a new paste ] login | about

Link: http://codepad.org/Pbg4n76i    [ raw code | output | fork ]

PHP, pasted on Mar 5:
1
2
3
4
5
<?php
$str="this is string";
$array=explode(" ",$str);
print_r($array);
?>


Output:
1
2
3
4
5
6
Array
(
    [0] => this
    [1] => is
    [2] => string
)


Create a new paste based on this one


Comments: