我正在嘗試讀取文本文件的字符。從文本文件中獲取字符php
$lang['content.home'] = 'Home';
$lang['content.about_us'] = 'About Us';
$lang['content.team'] = 'team';
如何得到的只是性格
content.home和首頁
和
content.about_us和關於我們
和
content.team和團隊
我嘗試使用爆炸( '\'」,$數據),而不是由foreach
正常工作
你想要什麼格式的結果? – silkfire
陣列(1) ( [0] =>串(5) 「content.home」 [1] =>串(5) 「家」 ) –
你不想include_once()的它爲什麼究竟? –