note 128980 added to function.property-exists

From: Date: Thu, 26 Oct 2023 13:28:20 +0000
Subject: note 128980 added to function.property-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-220937@lists.php.net to get a copy of this message
Be wary if you're checking for nested properties. This function returns true for null values. If you're not checking for null, you will throw a fatal error if you then try to pass a property that exists, but equals null into the first argument. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 23.123.122.225) ---- Manual Page -- https://php.net/manual/en/function.property-exists.php Edit -- https://main.php.net/note/edit/128980 Del: integrated -- https://main.php.net/note/delete/128980/integrated Del: useless -- https://main.php.net/note/delete/128980/useless Del: bad code -- https://main.php.net/note/delete/128980/bad+code Del: spam -- https://main.php.net/note/delete/128980/spam Del: non-english -- https://main.php.net/note/delete/128980/non-english Del: in docs -- https://main.php.net/note/delete/128980/in+docs Del: other reasons-- https://main.php.net/note/delete/128980 Reject -- https://main.php.net/note/reject/128980 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220937) next »