Answers for "turn a string into array in php"

PHP
2

php string to array

$array = explode(' ', $string);
Posted by: Guest on July-04-2021
-2

how to split string into array php

string = ".hidden_file"
str_split(string); //split char by char
Posted by: Guest on June-03-2021

Code answers related to "turn a string into array in php"

Browse Popular Code Answers by Language