note 109289 added to function.property-exists

From: Date: Mon, 02 Jul 2012 21:15:29 +0000
Subject: note 109289 added to function.property-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-189014@lists.php.net to get a copy of this message
Foddex is incorrect by saying that the tested results are incorrect. Access to a private property in a parent class should return false in property_exists. If the property was meant to be accessible to the extending class it should have been declared as protected, not private. ---- Server IP: 192.41.42.26 Probable Submitter: 64.236.139.254 ---- Manual Page -- http://www.php.net/manual/en/function.property-exists.php Edit -- https://master.php.net/note/edit/109289 Del: integrated -- https://master.php.net/note/delete/109289/integrated Del: useless -- https://master.php.net/note/delete/109289/useless Del: bad code -- https://master.php.net/note/delete/109289/bad+code Del: spam -- https://master.php.net/note/delete/109289/spam Del: non-english -- https://master.php.net/note/delete/109289/non-english Del: in docs -- https://master.php.net/note/delete/109289/in+docs Del: other reasons-- https://master.php.net/note/delete/109289 Reject -- https://master.php.net/note/reject/109289 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#189014) next »