View Issue Details

IDProjectCategoryView StatusLast Update
0000468Xdebugpublic2009-10-12 09:22
Reporterericp Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2.0.0dev 
Summary0000468: property_get on $GLOBALS works only at top-level
Description

When 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

Activities

ericp

2009-09-01 21:47

reporter   ~0001060

Forgot to link to Komodo bug
http://bugs.activestate.com/show_bug.cgi?id=84431

derick

2009-10-12 09:22

administrator   ~0001091

$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 21:46 ericp New Issue
2009-09-01 21:46 ericp PHP Version => 5.3.0
2009-09-01 21:46 ericp Xdebug Version => 2.0.5
2009-09-01 21:47 ericp Note Added: 0001060
2009-10-12 09:22 derick Note Added: 0001091
2009-10-12 09:22 derick Status new => closed
2009-10-12 09:22 derick Resolution open => fixed
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)