Skip to content

Instantly share code, notes, and snippets.

@JamieMason
Created August 10, 2011 09:42
Show Gist options
  • Save JamieMason/1136464 to your computer and use it in GitHub Desktop.
Save JamieMason/1136464 to your computer and use it in GitHub Desktop.
Rough logger that writes out each argument on a new line in HTML
function write ()
{
foreach (func_get_args() as $value) {
echo $value . '<br />\n\r';
};
}
write('this', 'is', 'a', 'quick', 'and', 'dirty', 'logger');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment