Hi
2011/8/22 Mads Lie Jensen m...@gartneriet.dk:
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
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 any
On Mon, Aug 22, 2011 at 08:22, Mads Lie Jensen m...@gartneriet.dk 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
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 -
Hi,
On Mon, Aug 22, 2011 at 08:22, Mads Lie Jensen m...@gartneriet.dk 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
2011/8/22 Mads Lie Jensen m...@gartneriet.dk:
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()
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 ka...@php.net wrote:
2011/8/22 Mads Lie Jensen m...@gartneriet.dk:
On Mon, 22 Aug 2011 10:00:11 +0200, hannes.magnus...@gmail.com (Hannes
Magnusson)
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 i...@prohost.org wrote:
The fix looks good, Dmitry can you please review it, if it
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:
?php
function __autoload($class) {
echo Would load: . $class . PHP_EOL;
}
$var = test;
var_dump(is_a($var, 'B'));
$obj = new Stdclass;
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
10 matches
Mail list logo