Best way to test for a variable’s existence in PHP; isset() is clearly broken October 19, 2022 by Tarik If the variable you are checking would be in the global scope you could do: array_key_exists('v', $GLOBALS)