|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-27 08:03 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 11:00:01 2025 UTC |
Description: ------------ Trying to access null as an associative array works just fine and doesn't result in an error, as it should. Reproduce code: --------------- <?php $testarray = null; $a = $testarray['test']; // this should yield to an error echo('$a = '.$a); // outputs '$a = ' ?> Expected result: ---------------- An error.