Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86512 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65031 invoked from network); 9 Jun 2015 08:52:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jun 2015 08:52:17 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.52 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.52 mail-yh0-f52.google.com Received: from [209.85.213.52] ([209.85.213.52:36678] helo=mail-yh0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/D1-42404-F39A6755 for ; Tue, 09 Jun 2015 04:52:16 -0400 Received: by yhan67 with SMTP id n67so4313779yha.3 for ; Tue, 09 Jun 2015 01:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=LpYMrfyCyQzq0MA5xBYWfcHj4tWh7YABxmjh8gf8AME=; b=r3g1SO7oYL6+fC8wwUOvIjmuOFFj/FBAm/YbMPnnpufvUZQjpHbQOHaUOCi9R8thI0 F/TBCBwdbqAZji74QwAsuC1CQnsLIKHH20Pf0bsLRxRK6biSU0/MnKgYiyTZEUAH67n3 lBxFrMuGs/DFx2cm2bT+umtSp/Ybz/CaqsP54m6EBKx2y+Wp/bxd+mevpbKkwAXT88Vp sJd9qGMVwDVzKWdjx00EgDRitYWiDWQRIJ495aSgvhoujv3Z+9u58tyZI75b3uj4aU51 gq/m6BL+MUn67q4XgyAjKuKlvGU84ID+ZwL/5Ka/xasW2+yJBtQObh9Oo/R3FTo116K2 cOGg== X-Received: by 10.129.98.132 with SMTP id w126mr20758275ywb.32.1433839933517; Tue, 09 Jun 2015 01:52:13 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.13.246.2 with HTTP; Tue, 9 Jun 2015 01:51:33 -0700 (PDT) In-Reply-To: <55760771.6020802@gmail.com> References: <5576051A.3040800@gmx.de> <55760771.6020802@gmail.com> Date: Tue, 9 Jun 2015 17:51:33 +0900 X-Google-Sender-Auth: iqEPJgsIHoIKcDMVfZMiFvjo6Dc Message-ID: To: Stanislav Malyshev Cc: Christoph Becker , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1146c7f2e6f72c051811df77 Subject: Re: [PHP-DEV] Array dereferencing of scalars From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1146c7f2e6f72c051811df77 Content-Type: text/plain; charset=UTF-8 Hi all, On Tue, Jun 9, 2015 at 6:21 AM, Stanislav Malyshev wrote: > > Would throwing a notice or a warning on array deferencing scalars > > be acceptable for PHP 7.0, or does this need an RFC? > > I think this does need an RFC, and for 7.0, pretty much no new language > changes are acceptable anymore, since we're past the timeframe. NULL This code cannot be right. How about fix this as a simple bug? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1146c7f2e6f72c051811df77--