|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2013-11-26 13:42 UTC] dmitry@php.net
 
-Status:      Open
+Status:      Assigned
-Assigned To:
+Assigned To: dmitry
  [2013-11-26 13:49 UTC] dmitry@php.net
  [2013-11-26 13:49 UTC] dmitry@php.net
 
-Status: Assigned
+Status: Closed
  [2013-11-26 17:45 UTC] dmitry@php.net
  [2013-11-26 17:45 UTC] dmitry@php.net
  [2013-11-26 18:22 UTC] ab@php.net
  [2013-11-26 18:22 UTC] ab@php.net
  [2013-11-26 18:22 UTC] ab@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ the following code doesn't work properly Test script: --------------- <?php function foo($v) { global $a; return $a[$v]; } $a = array(PHP_VERSION => 1); var_dump(foo(PHP_VERSION)); Expected result: ---------------- int(1) Actual result: -------------- NULL