note 11416 added to get_class

From: Date: Tue, 20 Feb 2001 11:14:53 +0000
Subject: note 11416 added to get_class
Groups: php.notes 
Request: Send a blank email to php-notes+get-11295@lists.php.net to get a copy of this message
Hello, Have you noticed that the string returned is lowercase, so the testing sequences should be something like: if (!strcmp(get_class ($objCoreFactory),strtolower("CoreFactory"))) { ... Regards, Calin http://www.php.net/manual/en/function.get-class.php

« previous php.notes (#11295) next »