Section 2.3. Comments


2.3. Comments

The next thing you need to learn about PHP is how to write comments, because most of the examples of this chapter have comments in them. You can write comments three different ways:

  • C way

     /*  This is a C like comment  *  which can span multiple  *  lines until the closing tags  */ 

  • C++ way

     // This is a C++ like comment which ends at the end of the line 

  • Shell way

     # This is a shell like comment which ends at the end of the line 



    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net