Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78747 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1736 invoked from network); 5 Nov 2014 21:25:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 21:25:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.245 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.245 imap11-3.ox.privateemail.com Received: from [198.187.29.245] ([198.187.29.245:59901] helo=imap11-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/51-27106-9B59A545 for ; Wed, 05 Nov 2014 16:25:13 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 745B78800F5; Wed, 5 Nov 2014 16:25:10 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TtlJR1NiHhI6; Wed, 5 Nov 2014 16:25:10 -0500 (EST) Received: from [10.128.116.174] (dab-crx1-h-9-1.dab.02.net [82.132.224.141]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 4EA068800EF; Wed, 5 Nov 2014 16:25:09 -0500 (EST) References: <5B1B375C-328B-40BD-B715-8EDA158B44CE@ajf.me> <545A912A.2050202@sugarcrm.com> Mime-Version: 1.0 (1.0) In-Reply-To: <545A912A.2050202@sugarcrm.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: Cc: Dmitry Stogov , Levi Morrison , internals , Nikita Popov X-Mailer: iPhone Mail (12B411) Date: Wed, 5 Nov 2014 21:24:47 +0000 To: Stas Malyshev Subject: Re: [PHP-DEV] [RFC][Vote] Return Types From: ajf@ajf.me (Andrea Faulds) > On 5 Nov 2014, at 21:05, Stas Malyshev wrote: > > 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". I'm aware master doesn't. I'm asking about the patch. :/ -- Andrea Faulds http://ajf.me/