note 42214 deleted from migration5.incompatible by nlopess

From: Date: Mon, 24 May 2004 14:09:29 +0000
Subject: note 42214 deleted from migration5.incompatible by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70020@lists.php.net to get a copy of this message
Note Submitter: dave@corecomm.us ---- I think the newly case-preserving (fixed for user-defined classes) behavior of get_class() should be added to the list of backward-incompatible changes. I know that, unfortunately, I've written many applications that test get_class() against a literal (lowercase) string. I will have to rewrite these -- perhaps testing against strtolower(get_class($foo)) -- for the application to behave correctly with both PHP4 and PHP5. It's likely that this concern extends to many of the other Classes/Objects functions that take or a string classname value as well.

« previous php.notes (#70020) next »