您的位置:首页 > 编程语言 > PHP开发

PHP学习笔记 02 - 注释

2017-11-20 09:17 197 查看

PHP注释

单行注释:
//
#


多行注释:
/*
*/
之间的内容为注释

示例:

<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<title>Hello World!</title>
</head>

<body>
<div class="well">
<?php
// single line comment
# single line comment
/*
multiline comment
*/
?>
</div>
</body>

</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: