I would like to test if a variable exists This variable can be set to null.
Is there a function can test that?
isset() returns false if the variable exists but defined to null.
I can't use is_null() if my $var is not defined.
Edit: my var is an object property so I did this:
property_exists($pData, $key)
and that works
Thx