Just start to contact code Audit, write some basic skills, share the experience of the novice.
Here is the code for the test, as well as a comment
Local build installation Wamp, can support PHP file loading, and then write with notepad++, you can run
<?php//Single-line comment
/**/Multi-line comments$moon= "Moon";//1//print $moon; Basic invocation of//echo $moon;$a=Array("Apple", "peach", "green"));//2//echo $a; Unable to access output array//print_r ($a); Output array//var_dump ($a); The length//debug_zval_dump ($a) is displayed; It is also the less//exit of the function used to print the array/*echo $moon = "Clay"; exit (); Echo $sec = "SEC";*///Single quotation mark and double quotation mark difference single quotation mark does not resolve$String= "Clay";Echo"$String";Echo' $String ';?>
Output from the last comparison
1. Initial knowledge Code audit-BASIC