Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86583 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93380 invoked from network); 10 Jun 2015 23:51:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2015 23:51:06 -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.67 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.67 mail-yh0-f67.google.com Received: from [209.85.213.67] ([209.85.213.67:35629] helo=mail-yh0-f67.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/B4-63696-96DC8755 for ; Wed, 10 Jun 2015 19:51:06 -0400 Received: by yhzz6 with SMTP id z6so5866130yhz.2 for ; Wed, 10 Jun 2015 16:51:03 -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=4ReyOaq2LVPI6+GKRAEFTRWLBjs5r0K361FF+oDSbnQ=; b=CDH+dLZ3oR+YLp8UgzK8ZTsA3YLIXLoJmNSPJPQu969aoLz+ngwjbpbToAGHKkds+K 3dZbsfkW/fkPuelV16JrlHAEIPHyeG4mLvk8UywGLRm9vfL74ZNGgVRHfqEEE/uikO41 6RKdtzswSMDsqcf9PzvEIh2iMQKnyteSoW7EtNp/FJiw+RMwsdJAsqjq/ASHal17vcDR xXMx/n3oJ2FDNXdEBi+TTny2yYnLK3HxVgz9FrYHvpD5V4H2s36G1t4n6gtkDpQ4w1M1 vEGZxnnH9Dx/Qo7TmWK5AoGu3KS6fYBnmW0YffsacxQnmEvaE8xpCH2s++qXXF2EOIwy DWzA== X-Received: by 10.129.97.213 with SMTP id v204mr7660525ywb.56.1433980262982; Wed, 10 Jun 2015 16:51:02 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.13.246.2 with HTTP; Wed, 10 Jun 2015 16:50:22 -0700 (PDT) In-Reply-To: References: <5576051A.3040800@gmx.de> <55760771.6020802@gmail.com> <778F345F9918474AB8CAAB03082ECBF7@pc1> <5577DEE4.8030205@gmail.com> Date: Thu, 11 Jun 2015 08:50:22 +0900 X-Google-Sender-Auth: AViPf5lSsscMY3zdQoDpum6CXX0 Message-ID: To: Nikita Popov Cc: Stanislav Malyshev , Matt Wilmas , Christoph Becker , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11492eec30aaf70518328ca8 Subject: Re: [PHP-DEV] Array dereferencing of scalars From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11492eec30aaf70518328ca8 Content-Type: text/plain; charset=UTF-8 Hi all, On Thu, Jun 11, 2015 at 7:22 AM, Yasuo Ohgaki wrote: > I agree that NULL is debatable. In PHP, NULL is treated as 0/false by its > context. > It's simpler if we get rid of the behavior altogether. IMO. > If PHP should return NULL always against NULL variables, we may be better to reconsider these behavior. [yohgaki@dev Download]$ php