Use shell style comments in PHP

Description

The following code shows how to use shell style comments.

Example


<?php/*from   w ww.  ja  v a 2 s .  co  m*/
    # Title: My first PHP script
    # Author: Jason Gilmore
    echo "This is a PHP program.";
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Language Basic »




PHP Introduction
PHP Operators
PHP Statements
Variable
PHP Function Create
Exception
PHP Class Definition