Thisisvaluableasyourcodestartstobecomelarger, sowhenyouhave a littlelittlescriptsthatare 10 or 20 lines, isprettyeasytosimplybe a bitworriedthatcodeandknowexactlywhat's goingon.
Wheremultilinecommentsreallymakelife A loteasierisifyou'retryingtocommentoutentiresnippetsofcode.
Solet's sayyoucreate a functionorifyou'regoingtobedoingsomethingandyouthink I don't wantinthattorunatthisparticulartime, whatyoucandoisyoucanjustsimplygothrough, andyoucanjustcommentoutallofthatcode.
Youdon't wanttorun.
Solet's sayhere, if I didn't wantif I didn't wantfromhere, let's saydowntoheretorun.
Soforthesinglelinecommenthere, whatyou'regoingtohaveisyouhavetoforwardslashes, soforwardslashforwardslashandthenwhatevercomesafterthison a singlelinethatwillbecommentedoutandPHPwillnotrun.
Andifyouhaven't commentedyourowncode, there's a goodchancewhenyougobacktotake a lookatit a monthortwoorsixfromnow, youareliterallygoingtohavealmostnoideawhatthehellthatyouweretryingto.