[dev] [commits] Horde-Hatchery branch master updated. 440b7d713281cb240060d754a31bae71484de823

Jan Schneider jan at horde.org
Tue Jul 28 20:30:07 UTC 2009


Zitat von Michael M Slusarz <slusarz at horde.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von Michael M Slusarz <slusarz at horde.org>:
>>
>>> commit 488c875b979520b1c9b6bf46049a0ddbb8fd8158
>>> Author: Michael M Slusarz <slusarz at curecanti.org>
>>> Date:   Mon Jul 27 12:20:53 2009 -0600
>>>
>>>   No more is_a() -> use instanceof instead
>>
>> Since is_a() is undeprecated and has the advantage of not  
>> triggering autoloading, we should consider to keep using it.
>
> My understanding was that is_a() was undeprecated for 5.3, but there  
> was no guarantees of it not being deprecated in the future.

I guess the PHP developers will make a lot of fun out of themselves if  
they first deprecate it with 5.0, then undeprecate it with 5.3, only  
to deprecate it again in the future. :)
The only problem I currently see is, that is_a() will not allow us to  
run E_STRICT-safe in 5.2.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.horde.org/archives/dev/attachments/20090728/53d0f7ff/attachment.bin>


More information about the dev mailing list