I have a string that contains associative array like that
$string = "['key1'=>'value1','key2'=>'value2','key3'=>'value3']";
and I want to convert it to an associative array so i can loop through it.
is there any way to do it ?
Thanks in advance .
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2rqlKfm
via IFTTT
Aucun commentaire:
Enregistrer un commentaire