I would like to get rid of the "Try to get information about a non-object" warnings, but could not find the correct syntax to check for the existence of properties in my case.
$this->nonce = $syncbod->Status->Chal->Meta->NextNonce;
Attempt to call
property_exists($syncbod, "Status->Chal")
returns always false. What would be the right way to check if there is one Chal?
source
share