Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21830 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60806 invoked by uid 1010); 9 Feb 2006 22:12:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60791 invoked from network); 9 Feb 2006 22:12:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 22:12:19 -0000 X-Host-Fingerprint: 69.60.120.90 iconoclast.caedmon.net Linux 2.4/2.6 Received: from ([69.60.120.90:46932] helo=iconoclast.caedmon.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1E/60-35443-34EBBE34 for ; Thu, 09 Feb 2006 17:12:19 -0500 Received: from localhost ([127.0.0.1]) by iconoclast.caedmon.net with esmtp (Exim 3.35 #1 (Debian)) id 1F7K0b-0006zu-00; Thu, 09 Feb 2006 17:11:25 -0500 Message-ID: <43EBBF11.30304@caedmon.net> Date: Thu, 09 Feb 2006 17:15:45 -0500 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Ian P. Christian" CC: internals@lists.php.net References: <200602092154.01908.pookey@pookey.co.uk> <43EBBD74.8010703@caedmon.net> <200602092210.06390.pookey@pookey.co.uk> In-Reply-To: <200602092210.06390.pookey@pookey.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 'odd' handling of $moo['bar'] where $moo is a string From: sean@caedmon.net (Sean Coates) > Ahh.. I see. That does make sense now as to why it results in the first char > in the array - however I still think it makes more sense not to cast, but > rather to give a fatal error. PHP autocasts everywhere. This would break years worth (and thousands) of applications. S