CodeLab
Show Output
 
15
 
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
    <title>PHP Comments</title>
5
</head>
6
<body>
7
​
8
<?php
9
    // This is a single line comment
10
    # This is also a single line comment
11
    echo 'Hello World!';
12
?>
13
​
14
</body>
15
</html>
 

在微博、微信、公众号、小程序分享此示例。 如果您觉得有帮助,请给我们一个赞。