課程
/后端開發(fā)
/PHP
/PHP進(jìn)階篇
echo file_put_contents($filename, 'hfgksl');//6 為什么顯示的數(shù)字。。。
2015-02-14
源自:PHP進(jìn)階篇 5-5
正在回答
輸出文件中內(nèi)容的語句是 ?echo file_get_contents()。直接輸出寫入文件函數(shù),輸出字節(jié)。
file_put_contents()函數(shù)
該函數(shù)將返回寫入到文件內(nèi)數(shù)據(jù)的字節(jié)數(shù)
舉報(bào)
輕松學(xué)習(xí)PHP中級(jí)課程,進(jìn)行全面了解,用PHP快速開發(fā)網(wǎng)站程序
3 回答$mtime = filemtime($filename); echo '修改時(shí)間:'.date('Y-m-d H:i:s', filemtime($filename));
1 回答echo pow(-6,-2) 這個(gè)怎么算的
2 回答file_put_contents()
2 回答為什么是echo $car->name而不是echo $car->$name
2 回答為什么echo BigCar::start(); 輸出不了?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2015-06-08
輸出文件中內(nèi)容的語句是 ?echo file_get_contents()。直接輸出寫入文件函數(shù),輸出字節(jié)。
2015-02-14
file_put_contents()函數(shù)
該函數(shù)將返回寫入到文件內(nèi)數(shù)據(jù)的字節(jié)數(shù)