Fast comment / uncomment
Wrap your code inside //*
and //*/
, each one on a single line (not mandatory though):
<?php
//*
function helloWorld() {
echo 'Hello world!';
}
//*/
You can comment out this code very fast by removing the first slash:
<?php
/*
function helloWorld() {
echo 'Hello world!';
}
//*/
Written by Nabil Kadimi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#comment
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#