Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58575 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93922 invoked from network); 4 Mar 2012 14:03:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2012 14:03:40 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qw0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:35014] helo=mail-qw0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/2C-12048-C36735F4 for ; Sun, 04 Mar 2012 09:03:40 -0500 Received: by qafi29 with SMTP id i29so401919qaf.8 for ; Sun, 04 Mar 2012 06:03:37 -0800 (PST) Received-SPF: pass (google.com: domain of ircmaxell@gmail.com designates 10.229.76.149 as permitted sender) client-ip=10.229.76.149; Authentication-Results: mr.google.com; spf=pass (google.com: domain of ircmaxell@gmail.com designates 10.229.76.149 as permitted sender) smtp.mail=ircmaxell@gmail.com; dkim=pass header.i=ircmaxell@gmail.com Received: from mr.google.com ([10.229.76.149]) by 10.229.76.149 with SMTP id c21mr2159734qck.5.1330869817836 (num_hops = 1); Sun, 04 Mar 2012 06:03:37 -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=tAgKKcpJw/LXgBvlgJFamyHmyeHMca4cztp6Vl1faTs=; b=FeScUaJCZ1sOTjIBYC91syV8+xqwzdgwJSin3xUc9j1r0fjynYLW4d14gRCdzmG3rq EN8RXj84ULyOlsKEheat/0dspXSaEWTv64RR12hrvpctsxHQ+2jw+Ro4YiEeCia1by67 XzR7VdYOqmP6njxXucYI/kjdO7zCIzPSIuzgputoasBltQPUWox0WcKgxH1m1VclEWos 2a3q50SFyY3d4ozCoEMJvJe7mYE9ghyRJvEhFCTpHAH1Xq1ukpNI3SP+SQzXdFhGPNGo 11I+alXuj61WKo1Tl0yCj9JBSycj589RmqM6AP0E4rMF2yIvjaY5w+shBD/dvoZUW6gk M+AA== MIME-Version: 1.0 Received: by 10.229.76.149 with SMTP id c21mr1845285qck.5.1330869817741; Sun, 04 Mar 2012 06:03:37 -0800 (PST) Received: by 10.229.49.74 with HTTP; Sun, 4 Mar 2012 06:03:37 -0800 (PST) In-Reply-To: References: Date: Sun, 4 Mar 2012 09:03:37 -0500 Message-ID: To: Paul Dragoonis Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC - Discussion] Parameter Type Casting Hints From: ircmaxell@gmail.com (Anthony Ferrara) > Can you make sure that only scalar or array casts can be done? > > I wouldn't want people to put class typehints in there such as > function foo( (SomeClass) $foo) That's how it is implemented now. That'll generate a parse error...