I have a var like this...
$var = '["continent"]["country"]["province"]';
and I want to check if the var is a key in a array.
Here's what I've tried, unfortunately without success.
if (!isset($array.$var)) :
do...
endif;
Is there a native PHP way to do this? I'm not a PHP wizard, Thanks!