Skip to content

Instantly share code, notes, and snippets.

@mkormendy
Forked from mkolb/var_dump-log.php
Last active July 20, 2016 01:43
Show Gist options
  • Save mkormendy/5d80989b877951842be70e16f06fdb9f to your computer and use it in GitHub Desktop.
Save mkormendy/5d80989b877951842be70e16f06fdb9f to your computer and use it in GitHub Desktop.
var_dump into error log
<?php
ob_start();
var_dump($geo_json);
error_log(ob_get_clean());
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment