Re: RE : [PEAR-DEV] DB::isError() in DB 1.6.4

From: Date: Wed, 30 Jun 2004 09:06:09 +0000
Subject: Re: RE : [PEAR-DEV] DB::isError() in DB 1.6.4
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31366@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 30 June 2004 01:13 am, Benoit Delagarde wrote: > >And to allow things to work correctly under PHP 4 and PHP 5. > > ??? I don't understand why. get_class(), get_parent_class() and is_object() > are all available in PHP 5. > I believe that get_class() / get_parent_class() are case-sensitive in PHP 5, and case-insensitive in older versions. I don't believe that is_a() has that issue. The base PEAR (>= 1.3.0) requires is_a() to work properly anyways, so I don't see this as being a big issue. I'm stuck developing for 4.1.x as well, but auto_prepend_file and PHP_Compat make life a lot easier. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA4oKFxuUdPD6j2IMRAg4bAJwJEEwZ/PqO9j98KpQTlVERAra3JwCdEiyQ fmnfus/ZvtbC/SRXTEMG1IU= =6Xho -----END PGP SIGNATURE-----

« previous php.pear.dev (#31366) next »