Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-22 Thread Stas Malyshev
Hi! On 8/21/11 11:22 PM, Mads Lie Jensen wrote: Ah, I now see that it only happens when trying to check something which is not actually an object: Not a bug. $var is interpreted as a class name. To know if one class extends another, the class in question (first one) should be loaded. There

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-22 Thread Etienne Kneuss
The actual question is whether the "fix" makes sense or not in the first place. Please debate in the bug report directly to avoid a schizophrenic discussion. Best, On Mon, Aug 22, 2011 at 15:12, Ilia Alshanetsky wrote: > The fix looks good, Dmitry can you please review it, if it is good > let's

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-22 Thread Ilia Alshanetsky
The fix looks good, Dmitry can you please review it, if it is good let's get it into 5.3.8 On Mon, Aug 22, 2011 at 6:33 AM, Kalle Sommer Nielsen wrote: > 2011/8/22 Mads Lie Jensen : >> On Mon, 22 Aug 2011 10:00:11 +0200, hannes.magnus...@gmail.com (Hannes >> Magnusson) wrote: >> >>>I can reproduc

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-22 Thread Kalle Sommer Nielsen
2011/8/22 Mads Lie Jensen : > On Mon, 22 Aug 2011 10:00:11 +0200, hannes.magnus...@gmail.com (Hannes > Magnusson) wrote: > >>I can reproduce that in 5.3-svn and 5.4-svn. >> >>Please file a bug report for it, this should probably be fixed in 5.3.8 too. > > Done: > > Bug #55475      is_a() triggers a

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-22 Thread Etienne Kneuss
Hi, On Mon, Aug 22, 2011 at 08:22, Mads Lie Jensen wrote: > On Mon, 22 Aug 2011 08:10:28 +0200, ka...@php.net (Kalle Sommer Nielsen) > wrote: > >>> After upgrading to php 5.3.7, whenever I use is_a($object, 'ClassName'); >>> the autoloader of classes is now called. >>> >>> This did not happen in

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-22 Thread Mads Lie Jensen
On Mon, 22 Aug 2011 10:00:11 +0200, hannes.magnus...@gmail.com (Hannes Magnusson) wrote: >I can reproduce that in 5.3-svn and 5.4-svn. > >Please file a bug report for it, this should probably be fixed in 5.3.8 too. Done: Bug #55475 is_a() triggers autoloader -- Mads Lie Jensen - m...@gart

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-22 Thread Hannes Magnusson
On Mon, Aug 22, 2011 at 08:22, Mads Lie Jensen wrote: > On Mon, 22 Aug 2011 08:10:28 +0200, ka...@php.net (Kalle Sommer Nielsen) > wrote: > >>> After upgrading to php 5.3.7, whenever I use is_a($object, 'ClassName'); >>> the autoloader of classes is now called. >>> >>> This did not happen in earli

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-21 Thread Mads Lie Jensen
On Mon, 22 Aug 2011 08:10:28 +0200, ka...@php.net (Kalle Sommer Nielsen) wrote: >> After upgrading to php 5.3.7, whenever I use is_a($object, 'ClassName'); >> the autoloader of classes is now called. >> >> This did not happen in earlier versions of php 5.3 that I used before. >> But I cannot find

Re: [PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-21 Thread Kalle Sommer Nielsen
Hi 2011/8/22 Mads Lie Jensen : > Hi. > > After upgrading to php 5.3.7, whenever I use is_a($object, 'ClassName'); > the autoloader of classes is now called. > > This did not happen in earlier versions of php 5.3 that I used before. > But I cannot find any  mention of it anywhere, no open bugs for

[PHP-DEV] is_a() triggers __autoload() in 5.3.7

2011-08-21 Thread Mads Lie Jensen
Hi. After upgrading to php 5.3.7, whenever I use is_a($object, 'ClassName'); the autoloader of classes is now called. This did not happen in earlier versions of php 5.3 that I used before. But I cannot find any mention of it anywhere, no open bugs for it, and nothing in the changelogs. Is it a