Answers for "php convert array string by space"

PHP
27

php explode

$colors  = "red,blue,green,orange";
$colorsArray = explode(",", $colors);
Posted by: Guest on June-14-2019
0

string to array php

str_split ( string $string [, int $split_length = 1 ] ) : array
Posted by: Guest on February-24-2020

Code answers related to "php convert array string by space"

Browse Popular Code Answers by Language