split a comma delimited string into an array in PHP

Output:
Array ( [0] => 3 [1] => vipul [2] => 5 )

Output:
0
vipul
5

Leave a Reply

Your email address will not be published. Required fields are marked *