note 113612 added to function.class-implements

From: Date: Tue, 05 Nov 2013 13:29:30 +0000
Subject: note 113612 added to function.class-implements
Groups: php.notes 
Request: Send a blank email to php-notes+get-197438@lists.php.net to get a copy of this message
Calling class_implements with a non-loadable class name or a non-object results in a warning: <?php // Warning: class_implements(): Class abc does not exist and could not be loaded in /home/a.panek/Projects/sauce/lib/Sauce/functions.php on line 196 $interfaces = class_implements('abc'); ?> This is not documented and should just return FALSE as the documentation above says. ---- Server IP: 192.41.45.150 Probable Submitter: 84.114.90.43 ---- Manual Page -- http://php.net/manual/en/function.class-implements.php Edit -- https://master.php.net/note/edit/113612 Del: integrated -- https://master.php.net/note/delete/113612/integrated Del: useless -- https://master.php.net/note/delete/113612/useless Del: bad code -- https://master.php.net/note/delete/113612/bad+code Del: spam -- https://master.php.net/note/delete/113612/spam Del: non-english -- https://master.php.net/note/delete/113612/non-english Del: in docs -- https://master.php.net/note/delete/113612/in+docs Del: other reasons-- https://master.php.net/note/delete/113612 Reject -- https://master.php.net/note/reject/113612 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#197438) next »