View Issue Details

IDProjectCategoryView StatusLast Update
0000362XdebugUncategorizedpublic2009-11-22 17:12
ReporterYogui Assigned To 
PrioritynormalSeverityblockReproducibilityhave not tried
Status resolvedResolutionunable to reproduce 
Summary0000362: Superglobal overwritten by local variable
Description

I am not sur how to reproduce this bug.
I am developing a Zend Framework application. I have a $_POST['tags'] superglobal variable and also a $tags local object. When I put a breakpoint to inspect $_POST, its 'tags' offset shows me $tags instead. However, if i var_dump($_POST), I find my original data untouched.

Additional Information

The object I am speaking of is an extension of Zend_Db_Table.
I am using Apache 2.0.59.

TagsNo tags attached.
Operating SystemWindows XP SP2
PHP Version5.2.5

Activities

Yogui

2008-04-11 17:15

reporter   ~0000830

I forgot: I am using PHPEdit 2.12.8 as a client to Xdebug.

derick

2009-11-22 17:12

administrator   ~0001159

I just tried this with a very simple script:

<?php
$tags = 42;

echo $tags, "\n", $_POST['tags'], "\n";
?>
<form method="POST">
<input name="tags">
<input type="submit">
</form>

But it works fine, i get the correct results in both watches for $_POST and $tags, as well as in the Locals and Superglobals tabs in Komodo. I suspect a PHPEdit bug here.