16
May
Author: elPas0

I discover very useful and simple method to comment php code blocks with single press


/**\/
foreach ( $array as $k=>$v ) {
     echo $k.' = ' . $v;
}
/**/

By adding or removing backslash you can comment whole code block


/**/
foreach ( $array as $k=>$v ) {
     echo $k.' = ' . $v;
}
/**/

One Response to “Single press comments in php”

Sabotage
wroteSabotage

Wow!!! that one of those little things that make a great difference.

Thanks for Sharing

Leave a Comment

* Required

E-mail will not be published