note 82564 added to function.get-parent-class

From: Date: Wed, 16 Apr 2008 16:08:26 +0000
Subject: note 82564 added to function.get-parent-class
Groups: php.notes 
Request: Send a blank email to php-notes+get-138375@lists.php.net to get a copy of this message
"If called without parameter outside object" What on earth does that mean? What I can tell you, and that is not documented, is that if the object in question does not have an explicitly declared parent class, it does return boolean false. It doesn't for example return 'stdClass' on the basis that all objects are derived from that. ---- Server IP: 87.124.64.96 Probable Submitter: 87.74.30.27 ---- Manual Page -- http://www.php.net/manual/en/function.get-parent-class.php Edit -- https://master.php.net/note/edit/82564 Del: integrated -- https://master.php.net/note/delete/82564/integrated Del: useless -- https://master.php.net/note/delete/82564/useless Del: bad code -- https://master.php.net/note/delete/82564/bad+code Del: spam -- https://master.php.net/note/delete/82564/spam Del: non-english -- https://master.php.net/note/delete/82564/non-english Del: in docs -- https://master.php.net/note/delete/82564/in+docs Del: other reasons-- https://master.php.net/note/delete/82564 Reject -- https://master.php.net/note/reject/82564 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138375) next »