Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9569 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9106 invoked by uid 1010); 26 Apr 2004 17:28:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9061 invoked by uid 1007); 26 Apr 2004 17:28:32 -0000 Message-ID: <20040426172831.9059.qmail@pb1.pair.com> To: internals@lists.php.net References: <20040426051635.66824.qmail@pb1.pair.com> <5.1.0.14.2.20040426113436.0240d3f0@127.0.0.1> Date: Mon, 26 Apr 2004 10:27:15 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Posted-By: 169.229.135.175 Subject: Re: [PHP-DEV] Bug#28151 Writing to Uninitialized Arrays From: pollita@php.net ("Sara Golemon") > >Here's what I think is the fix for 28151 (I have no strong feelings on > >whether or not it belongs in the engine, but I am +1 on it personally). > >Zend guys? > > > PHP has always allowed defining arrays on demand. This would break many > scripts and I don't see any reason to force people to define variables as > arrays, especially when these variables are undefined. > As I said, I have no >strong< feelings on it, but how about E_STRICT? And more to the point of my original posting (which I didn't state clearly): Is that, in fact, the right place for such a notice to be? I'm more trying to sanity check my understanding of the engine here than anything. -Sara