I\'m maintaining a PHP library that is responsible for fetching and storing incoming data (POST, GET, command line arguments, etc). I\'ve just fixed a bug that would not all
The following code block will do it passing the array as a set of comma separated values:
OUTPUT:
php ./array_play.php 1,2,3 array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" }