Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80110 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12829 invoked from network); 2 Jan 2015 21:55:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jan 2015 21:55:36 -0000 Authentication-Results: pb1.pair.com header.from=ua.san.alex@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ua.san.alex@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.172 as permitted sender) X-PHP-List-Original-Sender: ua.san.alex@gmail.com X-Host-Fingerprint: 209.85.223.172 mail-ie0-f172.google.com Received: from [209.85.223.172] ([209.85.223.172:61528] helo=mail-ie0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/21-04824-7D317A45 for ; Fri, 02 Jan 2015 16:55:35 -0500 Received: by mail-ie0-f172.google.com with SMTP id tr6so17255824ieb.17 for ; Fri, 02 Jan 2015 13:55:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b85ZMex8SW3sA/leve4NzwY9hNwNc6jcogrRdF56r8M=; b=Wm8XHP/5QJt9D378btZ2Wl0PgBHZELJhEYE5Uuikzz0ExbTyYcwxuJAM+kxRAHifki RY1iJ0cNCmfBHRLmrmFMx4EVbcxpgfUckzh9RgBHLn7pJ1DebFbcPq26416rd7U2KY89 Ai2eRaan+6dv23bHl8hopvhGs4aG7+ET6wKNCNuKaseY97e4MaKGWM+rTqQZQZBGkCbX znVShvJLUAT3fE/Cs34PonfEdKWf/+sK3hOvKTtRp42CVposZYNHi2jNnG+cHpraKGH1 kPhaMdr9NjyR0c8sKgQ9nGJ0QFkEi3HNOzFBbpbSPIJLVJX/7urxICvaKdJcxJdSE3N5 70WQ== MIME-Version: 1.0 X-Received: by 10.107.41.148 with SMTP id p142mr66706026iop.64.1420235732619; Fri, 02 Jan 2015 13:55:32 -0800 (PST) Received: by 10.50.93.3 with HTTP; Fri, 2 Jan 2015 13:55:32 -0800 (PST) In-Reply-To: <54A7112E.6020205@fischer.name> References: <41D5BB0B-73AF-488E-968D-90B2878E3178@ajf.me> <54A5DF14.7000105@gmail.com> <54A678EA.4070706@fischer.name> <54A6A4D3.9070808@seld.be> <54A7112E.6020205@fischer.name> Date: Fri, 2 Jan 2015 23:55:32 +0200 Message-ID: To: Markus Fischer Cc: internals Content-Type: multipart/alternative; boundary=001a1141d0745718d0050bb26646 Subject: Re: [PHP-DEV] [RFC] Scalar Type Hints From: ua.san.alex@gmail.com ("S.A.N") --001a1141d0745718d0050bb26646 Content-Type: text/plain; charset=UTF-8 Syntax forced cast, it makes sense not only for scalar types, but also for instances of classes. Is a syntactic sugar can be realized