Quick Table of Contents
[Edit] Single-Line C++ Syntax
Comments often require no more than a single line. Because of its brevity, there is no need to delimit the
comment’s conclusion because the newline \n character fills this need quite nicely. PHP supports C++
single-line comment syntax, which is prefaced with a double slash //, like this: <?php echo 'This is a test'; // This is a one-line c++ style comment /* This is a multi line comment yet another line of comment */ echo 'This is yet another test'; ?>
October 14, 2011
|
This Page is Under Construction! - If You Want To Help Please Send your CV - Advanced Web Core (BETA)
© Advanced Web Core. All rights reserved