Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17384 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93644 invoked by uid 1010); 22 Jul 2005 15:44:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93629 invoked from network); 22 Jul 2005 15:44:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2005 15:44:41 -0000 X-Host-Fingerprint: 64.233.184.204 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.204:45520] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6227M)) with SMTP id 78/65-33635-86411E24 for ; Fri, 22 Jul 2005 11:44:41 -0400 Received: by wproxy.gmail.com with SMTP id 71so379818wri for ; Fri, 22 Jul 2005 08:44:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E00oHpbFRo58ubjYlWOYip3QLVVHpGkQucgTRKxkxtSYsNDQihIAXxRla7iKOEuws6gZDc1ykiMXtru1XfydXAGJUNGYaWbCKi35zQ9phxYHYfQZ3U/J8fFABo6FrWchmrJnBmJryxGYAT8VG+hhD2Yyj7Xdp6LaD7TTJ4FDwYI= Received: by 10.54.31.69 with SMTP id e69mr1303237wre; Fri, 22 Jul 2005 08:44:11 -0700 (PDT) Received: by 10.54.153.5 with HTTP; Fri, 22 Jul 2005 08:44:10 -0700 (PDT) Message-ID: <4e89b42605072208443b8d366d@mail.gmail.com> Date: Fri, 22 Jul 2005 11:44:10 -0400 Reply-To: Wez Furlong To: PHPdev , Andi Gutmans Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: regression in HEAD since last week? From: kingwez@gmail.com (Wez Furlong) Just noticed that something changed in HEAD since last week. We have some code that does this: class foo { function foo() { $this['data'] =3D array(); } } last week that ran fine, this week it gives me an error: 'Cannot use object of type foo as an array'. I agree that the code above looks suspect, and that changing it to $this->data =3D array() works fine, I just wanted to point out the behaviour change since last week. --Wez.