Bug #54556 [Asn->Csd]: array access to empty var does not trigger a notice

From: Date: Thu, 29 Aug 2019 12:55:16 +0000
Subject: Bug #54556 [Asn->Csd]: array access to empty var does not trigger a notice
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222484@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54556&edit=1 ID: 54556 Updated by: nikic@php.net Reported by: kal dot el dot ias at gmx dot net Summary: array access to empty var does not trigger a notice -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem Operating System: Ubuntu 10.04.2 LTS PHP Version: trunk-SVN-2011-04-18 (snap) Assigned To: dmitry Block user comment: N Private report: N New Comment: This generates Notice: Trying to access array offset on value of type null on PHP 7.4. Previous Comments: ------------------------------------------------------------------------ [2019-05-05 01:26:38] carusogabriel@php.net The following pull request has been associated: Patch Name: Fix #37676 : Add E_WARNING when using array-index on non valid container On GitHub: https://github.com/php/php-src/pull/2031 Patch: https://github.com/php/php-src/pull/2031.patch ------------------------------------------------------------------------ [2018-07-13 15:22:59] cmb@php.net Related To: Bug #64194 ------------------------------------------------------------------------ [2016-10-06 15:29:12] bburnichon at gmail dot com Bug is present for a really long time now. https://3v4l.org/RUaHX present in all versions since php 4! Please fix this, some bad coding can lead to security vulnerabilities. ------------------------------------------------------------------------ [2015-06-08 20:50:55] cmb@php.net Related To: Bug #62769 ------------------------------------------------------------------------ [2015-06-08 20:17:35] cmb@php.net Related To: Bug #54155 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=54556 -- Edit this bug report at https://bugs.php.net/bug.php?id=54556&edit=1

« previous php.bugs (#222484) next »