Home >Backend Development >PHP Tutorial >Saving text in php array and decoding text into array_PHP tutorial
This article will introduce to you the methods of saving text in php arrays and decoding text into arrays. Students who need to know more can refer to it.
Example
The code is as follows
|
Copy code
|
||||
if($data == '') return array(); @eval("$array = $data;"); return $array; |