Skip to content

Instantly share code, notes, and snippets.

@StanAngeloff
Created November 1, 2011 16:58
Show Gist options
  • Save StanAngeloff/1331176 to your computer and use it in GitHub Desktop.
Save StanAngeloff/1331176 to your computer and use it in GitHub Desktop.
Awesome block commenting technique
<?php
/* DEBUG:
$debug_is_disabled = fn();
//*/
"extra slash before /* DEBUG: to enable block.";
//* DEBUG:
$debug_is_enabled = fn();
//*/
"works in JavaScript as well."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment