Skip to content

Instantly share code, notes, and snippets.

@DanielSantoro
Created March 11, 2016 21:04
Show Gist options
  • Save DanielSantoro/c3045977f428cb730201 to your computer and use it in GitHub Desktop.
Save DanielSantoro/c3045977f428cb730201 to your computer and use it in GitHub Desktop.
Bad Functions Notation
<?php
/*-----------------------------------------------------------------------------------*/
/* This is a great section header, since it takes space and stands out. */
/*-----------------------------------------------------------------------------------*/
// Note that a line doesn't have a character limit - as long as you don't hit enter/return on your keyboard, one mark will null the entire bit.
/* The same thing goes for this way. */
This line is missing a prefix.
// This one has a prefix, and that line above is going to be a problem.
// Why? Because that line will be processed as PHP code.
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment