Advertisement
kalimero82

Untitled

Aug 11th, 2016
59,248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.09 KB | None | 0 0
  1. $foo = NULL;
  2. $vars = get_defined_vars();
  3. if (array_key_exists('foo', $vars)) // devuelve True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement