企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 注释 PHP 支持 C,C++ 和 Unix Shell 风格(Perl 风格)的注释。 单行注释 `//` 或 `#` ``` <?php echo "This is a test"; // This is a one-line c++ style comment echo "This is a test"; # This is a one-line shell-style comment ?> ``` 多行注释 `/* */` ``` <?php /* This is a multi line comment yet another line of comment */ echo "This is yet another test"; ?> ``` 综合运用 ``` <?php //================================= // CATEGORY LARGE FONT //================================= //----------------------------------------------------- // Sub-Category Smaller Font //----------------------------------------------------- /* Title Here Notice the First Letters are Capitalized */ # Option 1 # Option 2 # Option 3 /* * This is a detailed explanation * of something that should require * several paragraphs of information. */ // This is a single line quote. ?> ```