MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000468Xdebug(No Category)public2009-09-01 22:462009-10-12 10:22
Reporterericp 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.0.0dev 
Target VersionFixed in Version 
Summary0000468: property_get on $GLOBALS works only at top-level
DescriptionWhen I'm at the top-level, property_get("$GLOBALS", current-stack-frame)
returns a hash of the globals, and other top-level variables (var names
as key, value as value).

Inside a function (either top-level procedural function, or a
class method), property_get("$GLOBALS", current-stack-frame)
throws an exception, but

property_get("$GLOBALS", top-stack-frame) works.

I would expect property_get("$GLOBALS") to work for
all stack frames.
TagsNo tags attached.
Operating System
PHP Version5.3.0
Attached Files

- Relationships

-  Notes
(0001060)
ericp (reporter)
2009-09-01 22:47

Forgot to link to Komodo bug
http://bugs.activestate.com/show_bug.cgi?id=84431 [^]
(0001091)
derick (administrator)
2009-10-12 10:22

$GLOBALS is special like $_GET and $_POST, and therefore I added them to the superglobals context instead.

- Issue History
Date Modified Username Field Change
2009-09-01 22:46 ericp New Issue
2009-09-01 22:46 ericp PHP Version => 5.3.0
2009-09-01 22:46 ericp Xdebug Version => 2.0.5
2009-09-01 22:47 ericp Note Added: 0001060
2009-10-12 10:22 derick Note Added: 0001091
2009-10-12 10:22 derick Status new => closed
2009-10-12 10:22 derick Resolution open => fixed
2016-07-31 13:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 13:35 derick Category debugclient (debugging tool) => (No Category)


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker