課程
/后端開發(fā)
/PHP
/PHP入門篇
define(PI,3.14)是不是也行?
2017-09-25
源自:PHP入門篇 4-1
正在回答
PHP NOtice: Use of undefined constant PI -assumed 'PI'?
該用戶已注冊 提問者
舉報
PHP入門教程輕松學習,行業(yè)大牛幫您快速掌握PHP編程基礎(chǔ)知識。
3 回答define('PI',3.14);
6 回答define("PI",3.14) PI是什么意思?
2 回答如果把define("PI",3.14);改為define(PI,3.14); 為什么會錯呢?
4 回答define("PI",3.14);為何報錯?
4 回答請問一下大家define("PI",4.14)和define(PI,3.14)有什么區(qū)別?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2017-09-25
PHP NOtice: Use of undefined constant PI -assumed 'PI'?