标签: php
如何将字符串从txt文件转换为数组?
TEXT.TXT
"1" => "Text1", "2" => "Text2", "3" => "Text3", "4" => "Text4",
的index.php
$a = file_get_contents('Text.txt'); explode(',', $a); ???
我想看一对$ key => $值。有可能吗?