GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nginx/html/JimMartinson/CST1146/Resources/Examples/Week/04/ |
Upload File : |
<!DOCTYPE html> <html lang="en"> <head> <title>Week 3 - 3.php</title> <meta charset="utf-8"> <body> <h1>Week 3 - 3.php</h1> Before // comment<br> <?php echo __LINE__; // This is a single-line comment echo __LINE__; // I use // to put in a regular php comment in my code. ?> Before # comment<br><?php # This is also a single-line comment $myVar = 10; // I use # to comment out some php debugging code. echo '<div style="background-color:#ff8;">$myVar=', var_dump($myVar), "</div>\n"; // Comment this with a # at the beginning to comment out this line. ?>Before multiple-line comment<br><?php /* This is a multiple-lines comment block that spans over multiple lines ?> */ // You can also use comments to leave out parts of a code line $x = 5 /* + 15 */ + 5; echo '<br>$x has a value of ',$x; // I use /**/ to allow me to "turn on" or "turn off" code easily. $y = 5 /**/ + 15 /**/ + 5; echo '<br>$y has a value of ',$y; ?> </body> </html>