Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86377 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11539 invoked from network); 25 May 2015 13:09:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2015 13:09:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=ua.san.alex@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ua.san.alex@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: ua.san.alex@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-ig0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:36547] helo=mail-ig0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BE/A1-32952-91F13655 for ; Mon, 25 May 2015 09:09:45 -0400 Received: by igbpi8 with SMTP id pi8so36144121igb.1 for ; Mon, 25 May 2015 06:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gb/iyiV06ueIyCocquBJ8wPiEuU3HtBXqQx8iu8WfYY=; b=lqXOJ/jA9mClw/foWXqQrsBu3+GmHHHhgUItwjVGvo6tjr71Uk89fXdkkCQ0fIxSi8 5hvBBR51VMEn9zdptf5LqqzEXSpIHzyJ/Sb4H1u0Ho9T33QWvsWtFVjZ9zE3ORz907LY aiiirD8lpkeOEKqrEXr8ogaoxVFhsjobrOt7TvsJadb+qqWL5/0rKpY6jYyZ9QH24zDH kheBE1QHTcs5dvMkq6i9+T/lQ3Nev+ZbWlygopuiPkbefWIokJbvD9NvHXCj8vdG7wkC 2YPEKZt7RtrzAu1ltr+pUCDC319jD166S5fBENSu/NWXAxYdVs0XcNhkj8kfXqtpbV43 DUzQ== MIME-Version: 1.0 X-Received: by 10.43.12.136 with SMTP id pi8mr24473106icb.6.1432559382068; Mon, 25 May 2015 06:09:42 -0700 (PDT) Received: by 10.50.246.20 with HTTP; Mon, 25 May 2015 06:09:42 -0700 (PDT) In-Reply-To: <55631D05.2040903@gmx.de> References: <55631D05.2040903@gmx.de> Date: Mon, 25 May 2015 16:09:42 +0300 Message-ID: To: Christoph Becker Cc: internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Fatal error: isset(CONST_ARRAY['key']) PHP 5.6 From: ua.san.alex@gmail.com ("S.A.N") > It is by design; the documentation states[1]: > > | isset() only works with variables as passing anything else will > | result in a parse error. > > [1] > Ok, the way it works in PHP 7. But the speed of access to const the array (ARR['key']) is 5 times slower, in comparison with the variable ($arr['key']) :(