Answers for "comment line in php"

PHP
3

new line php

echo "<br>";
Posted by: Guest on December-09-2019
0

single line comment in shell script

# This is a Bash Single Line Comment.
echo "This is Code" # This is an inline Bash comment.
Posted by: Guest on May-02-2020
0

comment in php

Comments in PHP can be used for several purposes, a very interesting one being that you can generate API documentation directly from them by using PHPDocumentor (http://www.phpdoc.org/).

Therefor one has to use a JavaDoc-like comment syntax (conforms to the DocBook DTD), example:
<?php
/**
* The second * here opens the DocBook commentblock, which could later on<br>
* in your development cycle save you a lot of time by preventing you having to rewrite<br>
* major documentation parts to generate some usable form of documentation.
*/
?>
Some basic html-like formatting is supported with this (ie <br> tags) to create something of a layout.
Posted by: Guest on October-17-2020

Browse Popular Code Answers by Language