Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59262 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50810 invoked from network); 31 Mar 2012 08:35:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2012 08:35:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.203 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.203 smtp203.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.203] ([67.192.241.203:42550] helo=smtp203.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/A4-28591-ED1C67F4 for ; Sat, 31 Mar 2012 03:35:43 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp10.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 79BC51B8125; Sat, 31 Mar 2012 04:35:40 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp10.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id F08F51B80CE; Sat, 31 Mar 2012 04:35:39 -0400 (EDT) Message-ID: <4F76C1DB.6030600@sugarcrm.com> Date: Sat, 31 Mar 2012 01:35:39 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: reeze CC: Yasuo Ohgaki , "internals@lists.php.net" References: <4F76B2E5.3010609@sugarcrm.com> <9A01D818C0E0429A91913327DBF4EE2C@gmail.com> In-Reply-To: <9A01D818C0E0429A91913327DBF4EE2C@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: =?UTF-8?B?5Zue5aSN77yaIFtQSFAtREVWXSBSZTogYnVncyBuZWVkcyBmaXg=?= =?UTF-8?B?IGJlZm9yZSA1LjQuMQ==?= From: smalyshev@sugarcrm.com (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. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227