Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78749 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6673 invoked from network); 5 Nov 2014 21:43:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 21:43:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.218.42 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.218.42 mail-oi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:44361] helo=mail-oi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/42-27106-81A9A545 for ; Wed, 05 Nov 2014 16:43:53 -0500 Received: by mail-oi0-f42.google.com with SMTP id a3so24956oib.29 for ; Wed, 05 Nov 2014 13:43:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=TuEsiyaEeURwtwMgOPrfrNp76GDdDgzFFkZYFWayBC8=; b=Zpd8QvOfMhFn2ichTljZx4lyY+dPxBmaZ0HipAJaS6tH4RFqhLO+rUPSpWGIkMhdVI 9ILQkERSrsTHie65oyg8bNucOmnD6LQRYEnmyiXUoyhLTQpLU4yNCnEiTpuDNXBrxHL6 hGXWLyfssq0nMwX1odMB3TwqXd4Iv0jkjNFBX83VO/77dyGy9Scp8LeP2ry0hGA7P5RS No8hKGNqZpQZrLyF2d+ORmrGmI1R0hldwIrRvwGGEaC4F1vzUw34SPqY35mYHH61rZ6F 3MTFccW3z+EoAOr4dyKoEZCCikZJ6PrYyxk/exXLA0oBV9e9Rk9qy0Xtj38zS39pxtiG pmmA== X-Gm-Message-State: ALoCoQmWNpyutXf2wYJJtqvbps4/dPVUrgEjtfX7PM3PYis+p9wT2Gz8mqonqhs3mQCdzJzPzaKME80i6/FERJdfWbymCflUTPieyBb7jt5WHdMaSz1HJTjo1JJo5Kb8SKB7iuboCLqggKO2KUewGlEQAtPMZYls+g== MIME-Version: 1.0 X-Received: by 10.202.193.135 with SMTP id r129mr65397oif.66.1415223830183; Wed, 05 Nov 2014 13:43:50 -0800 (PST) Received: by 10.60.70.41 with HTTP; Wed, 5 Nov 2014 13:43:50 -0800 (PST) In-Reply-To: <545A912A.2050202@sugarcrm.com> References: <5B1B375C-328B-40BD-B715-8EDA158B44CE@ajf.me> <545A912A.2050202@sugarcrm.com> Date: Thu, 6 Nov 2014 01:43:50 +0400 Message-ID: To: Stas Malyshev Cc: Andrea Faulds , Levi Morrison , internals , Nikita Popov Content-Type: multipart/alternative; boundary=001a113dc2a6ad1c1a0507237965 Subject: Re: [PHP-DEV] [RFC][Vote] Return Types From: dmitry@zend.com (Dmitry Stogov) --001a113dc2a6ad1c1a0507237965 Content-Type: text/plain; charset=UTF-8 On Thu, Nov 6, 2014 at 12:05 AM, 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". > It's not true anymore, with this proposal. Thanks. Dmitry. > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > --001a113dc2a6ad1c1a0507237965--