|
Quick Table of Contents
[تحسين] 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';
?>
14 / أكتوبر / 2011 الساعة 12:46
|

