Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21833 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73258 invoked by uid 1010); 9 Feb 2006 22:44:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73243 invoked from network); 9 Feb 2006 22:44:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 22:44:03 -0000 X-Host-Fingerprint: 80.249.110.212 xian.ncuk.net Linux 2.5 (sometimes 2.4) (4) Received: from ([80.249.110.212:54401] helo=xian.ncuk.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 80/12-35443-3B5CBE34 for ; Thu, 09 Feb 2006 17:44:03 -0500 To: internals@lists.php.net Date: Thu, 9 Feb 2006 22:43:56 +0000 User-Agent: KMail/1.9.1 Cc: Robert Cummings , Sean Coates References: <200602092154.01908.pookey@pookey.co.uk> <200602092210.06390.pookey@pookey.co.uk> <1139524120.2072.42.camel@blobule.suds> In-Reply-To: <1139524120.2072.42.camel@blobule.suds> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200602092243.56646.pookey@pookey.co.uk> Subject: Re: [PHP-DEV] 'odd' handling of $moo['bar'] where $moo is a string From: pookey@pookey.co.uk ("Ian P. Christian") On Thursday 09 February 2006 22:28, Robert Cummings wrote: > PHP is primarily a web language. Many indexes are pulled from $_GET and > $_POST and for obvious reasons are strings. One of the convenience > factors of PHP is that noobs don't need to think about casting their > strings to ints to index. Yeah ok, good point. The strenghts of PHP sometimes bite you in the arse ;) Thanks for your replies people. -- Ian P. Christian http://pookey.co.uk