Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dump defined variables for a quick look at what's available in the current context. For more info see https://philkurth.com.au/tips/dump-defined-variables-for-a-quick-look-at-what's-available-in-the-current-context/
<?php
echo '<pre>';
var_dump(get_defined_vars());
echo '</pre>;
<?php
var_dump(get_defined_vars());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.