參數n){ 執行內容; return 回傳值; } /* 呼叫函式*/ 自訂函式名(參數1, 參數2, ...參數n); <?php function myInf(){ echo "Hi! Haoye"; } myInf(); ?>
確定! 回上一頁