|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4659 GLOBALS variable does not report 'array' type but 'string'
Submitted: 2000-05-29 11:48 UTC Modified: 2001-09-09 09:39 UTC
From: cranx at miwo dot hu Assigned:
Status: Not a bug Package: Misbehaving function
PHP Version: Earlier? Upgrade first! OS: redhat linux 5.2 / 2.2.10 / i586
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: cranx at miwo dot hu
New email:
PHP Version: OS:


 [2000-05-29 11:48 UTC] cranx at miwo dot hu
this one is for 3.0.11, i'll check 3.0.16-win32 as it finishes downloading

gettype($GLOBALS) returns 'string' instead of 'array',
and each($GLOBALS) reports that $GLOBALS is not an array, however i can get 
the global variable values out of it in the standard way $GLOBALS["PHP_SELF"] for eg.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-09 09:39 UTC]
works fine with the latest cvs, I doubt this would ever
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Sep 29 04:01:23 2020 UTC