Looking for php Keywords? Try Ask4Keywords

PHP 单行评论


单行注释以“//”或“#”开头。遇到时,PHP解释器将忽略右侧的所有文本。

// This is a comment

# This is also a comment

echo "Hello World!"; // This is also a comment, beginning where we see "//"