PHP Multiple Line Comment inside Multiple Line Comment
问题 <?php /* /* this is a comment */ */ ?> PHP returns "syntax error"... Is this just a completely wrong way to use multiple line comment? Sometimes I need to comment out a big block of code for testing, and this block contains hundreds of lines and there are many multiple line comments inside. So what's the best way to comment out this big block? besides removing it temporarily from the file? 回答1: From the PHP manual: 'C' style comments end at the first */ encountered. Make sure you don't nest