View Issue Details

IDProjectCategoryView StatusLast Update
0000322XdebugFeature/Change requestpublic2007-10-27 18:09
ReporternixAssigned Toderick 
Status resolvedResolutionno change required 
Product Version 
Target VersionFixed in Version 
Summary0000322: Unable to get value for hash via DBGp .
Descriptionproperty_get command cannot retrieve value for associative
F.e. superglobal variables have $_SERVER associative array.
This array has "argv" key.
This property is returned by context_get command in the form:
But when I try to get property via "property_get" command I
get error ( please see below in additional info ).

I tried to use as property fullname argument following cases
without success:
Additional Informationcommand is :
property_get -i 8 -n $_SERVER["argv"]

response is :
<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="" command="property_get" transacti
on_id="8" status="break" reason="ok"><error code="300"><message><![CDATA[can not get property]]></message></error></resp
TagsNo tags attached.
Operating SystemSolaris 10
PHP Version5.1.4



2007-10-23 15:40

reporter   ~0000757

I'm sorry.
Please close this CR as invalid.
One need to add context argument in described case.
Command should be
property_get -i 8 -n $_SERVER['argv'] -c 1

Appeared error is consequence of context 0 that is used in property_get
command by default. But $_SERVER is context 1 property.


2007-10-27 18:09

administrator   ~0000770

Marking as invalid as requested. However, if $_SERVER has been used in a function, then it would also work without the -c 1 (as the name was introduced into the local scope, which is context 0.

Issue History

Date Modified Username Field Change
2007-10-23 15:33 nix New Issue
2007-10-23 15:40 nix Note Added: 0000757
2007-10-27 18:09 derick Status new => resolved
2007-10-27 18:09 derick Resolution open => no change required
2007-10-27 18:09 derick Assigned To => derick
2007-10-27 18:09 derick Note Added: 0000770