Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58573 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91188 invoked from network); 4 Mar 2012 13:57:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2012 13:57:27 -0000 Authentication-Results: pb1.pair.com header.from=dragoonis@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dragoonis@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-lpp01m010-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:63910] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/9B-12048-7C4735F4 for ; Sun, 04 Mar 2012 08:57:27 -0500 Received: by lahl5 with SMTP id l5so4026250lah.29 for ; Sun, 04 Mar 2012 05:57:24 -0800 (PST) Received-SPF: pass (google.com: domain of dragoonis@gmail.com designates 10.112.36.166 as permitted sender) client-ip=10.112.36.166; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dragoonis@gmail.com designates 10.112.36.166 as permitted sender) smtp.mail=dragoonis@gmail.com; dkim=pass header.i=dragoonis@gmail.com Received: from mr.google.com ([10.112.36.166]) by 10.112.36.166 with SMTP id r6mr7548245lbj.4.1330869444078 (num_hops = 1); Sun, 04 Mar 2012 05:57:24 -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:content-transfer-encoding; bh=ZwVPriuEfW2afqRd6sPSP6Z4LSOgEhQ7Xa1jFRM6jDk=; b=llF2MIev+64hMNxE7YP5xKspvPPQTeV38+IIuWTGxrZK883+a6d0Jj+s+DYVVXBiYj BM0K9BSnU4t35HXXhM7T+AgUEtTxvKeGaahL8AzdunkomjzYO2rAYC2IIbAGgV1XoBDL 2rf4VZnwh8CxSAFzIXxbwBWTAlI+PZdN3B79j1u2GPvnEb0UEDIaOXk1iWXjdc73ro+D kNaNCPbrpjY5OuyCQY94xENnBGb7pWGyztWCK4mV3+Cew2QHn/sONXLEr1ABhU2rk/19 NsxZuwSWVZtc0GoBVeFs04gX6/o8gSiL1eG+ezk52mdK9dQWJTeP00F8ZbQiunxn0dvq hwjg== MIME-Version: 1.0 Received: by 10.112.36.166 with SMTP id r6mr6199219lbj.4.1330869444004; Sun, 04 Mar 2012 05:57:24 -0800 (PST) Received: by 10.152.13.40 with HTTP; Sun, 4 Mar 2012 05:57:23 -0800 (PST) In-Reply-To: References: Date: Sun, 4 Mar 2012 13:57:23 +0000 Message-ID: To: Anthony Ferrara Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC - Discussion] Parameter Type Casting Hints From: dragoonis@gmail.com (Paul Dragoonis) 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) - Paul. On Sun, Mar 4, 2012 at 1:28 AM, Anthony Ferrara wrote= : > Hey all, > > I've drafted an RFC for the Parameter type casting hint proposal that > I posted to before. =A0Attached to the RFC is a patch that's proposed > for inclusion in core for functionality (it doesn't include news > entries, or documentation, or any of the other steps that would be > needed prior to commit). > > https://wiki.php.net/rfc/parameter_type_casting_hints > > Please provide feedback here on the implementation and RFC topics. > > Thanks, > > Anthony > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >