I understand PHP does not have a pure object variable, but I want to check whether a property is in the given object or class.
$ob = (object) array(\'a\' =&g
Using array_key_exists() on objects is Deprecated in php 7.4
Instead either isset() or property_exists() should be used
reference : php.net