Skip to content

Instantly share code, notes, and snippets.

@gothburz
Last active September 14, 2015 04:26
Show Gist options
  • Select an option

  • Save gothburz/973535dcfaba081f2f80 to your computer and use it in GitHub Desktop.

Select an option

Save gothburz/973535dcfaba081f2f80 to your computer and use it in GitHub Desktop.
Using var_export to debug, returns a "parsable string representation of a variable".
$debug = var_export($your_function, true);
var_export($debug);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment