Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37100 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38549 invoked from network); 17 Apr 2008 17:49:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2008 17:49:00 -0000 Authentication-Results: pb1.pair.com header.from=brianm@dealnews.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=brianm@dealnews.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain dealnews.com designates 72.5.90.27 as permitted sender) X-PHP-List-Original-Sender: brianm@dealnews.com X-Host-Fingerprint: 72.5.90.27 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from [72.5.90.27] ([72.5.90.27:34615] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/8C-05127-A8D87084 for ; Thu, 17 Apr 2008 13:48:59 -0400 Received: (qmail 7934 invoked from network); 17 Apr 2008 17:48:55 -0000 Received: from unknown (HELO mail.dealnews.com) (10.1.10.7) by -H with ESMTPS (DHE-RSA-AES256-SHA encrypted); 17 Apr 2008 17:48:55 -0000 Received: (qmail 3583 invoked from network); 17 Apr 2008 17:48:54 -0000 Received: from 127.2.1.10.in-addr.arpa (HELO 206.29.10.10.in-addr.arpa) (brianm@10.1.2.127) by -H with ESMTPA; 17 Apr 2008 17:48:54 -0000 Message-ID: <48078D84.100@dealnews.com> Date: Thu, 17 Apr 2008 10:48:52 -0700 User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Derick Rethans CC: Felipe Pena , Paul Biggar , internals@lists.php.net References: <46ccd1ab0804170742g142ed562t4f03339da549a820@mail.gmail.com> <1208445852.5366.31.camel@felipe> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Strict type hints (parameter and return value) From: brianm@dealnews.com (Brian Moon) Derick Rethans wrote: > I don't think scalar is very useful, but I do think there is a case for > numeric. I don't think string is useful. I would use scalar instead. I only need to know that the variable is not an array or object. I can echo, concatenate, etc. any scalar as if it was a string. -- Brian Moon Senior Developer/Engineer ------------------------------ When you care enough to spend the very least. http://dealnews.com/