Last Updated: July 25, 2019
·
235
· kadimi

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!';
}
//*/