Menu

#25 //* comment on one line Consider as multi-line

open
nobody
None
5
2012-08-29
2009-12-04
Anonymous
No

exemple :
1: assert('!empty($actionName); //* $actionName should not be empty');
2: if($db != null)
3: $this->db =& $db; // give database acces

View source make line 2 and all nexts in grey comment's color.
//* should only comment the end of line 1, in fact it should be comment at all because it's between quote but it not really important.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.