note 82085 deleted from function.class-exists by nlopess

From: Date: Sun, 30 Mar 2008 11:29:35 +0000
Subject: note 82085 deleted from function.class-exists by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137750@lists.php.net to get a copy of this message
Note Submitter: richard at richard-sumilang dot com ---- [ >= PHP 5.3] If you are checking if a class exists that is in a specific namespace then you have to pass in the full path to the class: echo (class_exists("com::richardsumilang::common::Class")) ? "Yes" : "No";

« previous php.notes (#137750) next »