Home Download Buy Blog Forum Support

PHP Wrong Comments

PHP Wrong Comments

Postby jbrooksuk on Mon Aug 08, 2011 11:15 am

Since ~2098 PHP now comments with a "#" for single line comments (which is actually OK) and HTML <!-- --> for block comments, which should be /* */ style.
jbrooksuk
 
Posts: 781
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: PHP Wrong Comments

Postby alexrussell on Mon Aug 08, 2011 12:25 pm

But the '#' vs '//' should be a setting IMO
alexrussell
 
Posts: 74
Joined: Fri Jul 15, 2011 9:06 am

Re: PHP Wrong Comments

Postby jps on Mon Aug 08, 2011 12:41 pm

This has already been reported in the 2098 thread, and will be fixed for 2099
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: PHP Wrong Comments

Postby jbrooksuk on Mon Aug 08, 2011 1:54 pm

alexrussell wrote:But the '#' vs '//' should be a setting IMO

I agree with this and I regularly change between them depending on what I'm commenting.
jbrooksuk
 
Posts: 781
Joined: Sun Apr 11, 2010 10:37 am
Location: England


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 24 guests