Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37107 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57327 invoked from network); 17 Apr 2008 18:16:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2008 18:16:22 -0000 X-Host-Fingerprint: 24.247.219.180 24-247-219-180.dhcp.cdwr.mi.charter.com Received: from [24.247.219.180] ([24.247.219.180:13586] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/A0-05127-5F397084 for ; Thu, 17 Apr 2008 14:16:21 -0400 Message-ID: To: internals@lists.php.net Date: Thu, 17 Apr 2008 14:16:16 -0400 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 References: <46ccd1ab0804170742g142ed562t4f03339da549a820@mail.gmail.com> <1208445852.5366.31.camel@felipe> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Posted-By: 24.247.219.180 Subject: Re: [PHP-DEV] [RFC] Strict type hints (parameter and return value) From: auroraeosrose@gmail.com (Elizabeth M Smith) Derick Rethans wrote: > On Thu, 17 Apr 2008, Felipe Pena wrote: > >> Em Qui, 2008-04-17 às 17:17 +0200, Paul Biggar escreveu: >>> Hi Felipe, >>> >>> Thanks for making the change. This is much more consistent. It remains >>> that there is no 'scalar' or 'numeric' hint. Are you planning on >>> including them? >> No, i'm not planning to do that. > > I don't think scalar is very useful, but I do think there is a case for > numeric. > > regards, > Derick > Scalar is useful if you DON'T want an array or object - but don't care if you get an int/string/whatnot Thanks, Elizabeth