Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99198 invoked from network); 5 Nov 2014 21:05:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 21:05:51 -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 108.166.43.123 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.123 smtp123.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.123] ([108.166.43.123:55025] helo=smtp123.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/E0-27106-D219A545 for ; Wed, 05 Nov 2014 16:05:50 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp16.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 7A9A31803C4; Wed, 5 Nov 2014 16:05:47 -0500 (EST) X-Virus-Scanned: OK Received: by smtp16.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id C6139180445; Wed, 5 Nov 2014 16:05:46 -0500 (EST) X-Sender-Id: smalyshev@sugarcrm.com Received: from Stass-MacBook-Pro.local ([UNAVAILABLE]. [74.85.23.222]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.3.2); Wed, 05 Nov 2014 21:05:47 GMT Message-ID: <545A912A.2050202@sugarcrm.com> Date: Wed, 05 Nov 2014 13:05:46 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Andrea Faulds , Dmitry Stogov CC: Levi Morrison , internals , Nikita Popov References: <5B1B375C-328B-40BD-B715-8EDA158B44CE@ajf.me> In-Reply-To: <5B1B375C-328B-40BD-B715-8EDA158B44CE@ajf.me> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][Vote] Return Types From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > Do we always load the class in the hint? We could perhaps only do it > for inheritance checks? No, classes are not loaded for type checks, since it would be pointless - if the class is not loaded, you could not have a value of that type, so if the class is not present, the answer is "no". -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/