note 78003 deleted from language.oop5.autoload by crell

From: Date: Mon, 04 Apr 2022 16:15:43 +0000
Subject: note 78003 deleted from language.oop5.autoload by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218042@lists.php.net to get a copy of this message
Note Submitter: christian.reinecke at web.de ---- do not use is_subclass_of() in your __autoload() function to identify a class type and thereby its path (f.e exceptions). is_subclass_of() needs to know the class, but you want to check BEFORE you include the class.

« previous php.notes (#218042) next »