php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-09 09:39 UTC] sterling@php.net
works fine with the latest cvs, I doubt this would ever
happen...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 21:01:33 2024 UTC