回复: [PHP-DEV] Re: bugs needs fix before 5.4.1

From: Date: Sat, 31 Mar 2012 08:44:02 +0000
Subject: 回复: [PHP-DEV] Re: bugs needs fix before 5.4.1
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-59264@lists.php.net to get a copy of this message
在 2012年3月31日星期六,下午4:35,Stas Malyshev 写道: > Hi! > > > If is set to false does it means the first parameter can't be string? > > It can. But it won't be seen as a class name, but rather as a string, > that is not an object that is an instance of a subclass of anything, so > it will return false. > > > Can't we just make the last parameter to autoload=true|false. > > if the first parameter is a string then try to find the class if not try > > autoloadding. > > We discussed all the solutions already and chose this one, please see > discussion on the list and the bug I've referred to. I see no point in > going through the same discussion again. Thanks for your kindly explanation and yohagaki's doc update I've got it.

« previous php.internals (#59264) next »