2010-07-20 86 views

回答

9

評論出來 - 這是一個」 Perl樣式評論」,具有相同功能的‘C語言風格的註釋’//。見the documentation在PHP評論的不同方法。

1

#是單行註釋。這意味着李沒有使用代碼。

1

散列只是一個單行註釋字符。

1

它將行標記爲註釋,所以include指令並未實際執行。

在下面僅myfile1.php代碼將包括:

<?php 
include "myfile1.php"; 
// include "myfile2.php"; 
# include "myfile3.php"; 
?> 
0

它可以作爲一個單行註釋,正如//一樣。

爲了包括一個文件,使用

include("myfile.php"); # or 
require("myfile.php"); # dies if fails to include