ID:               27863
 User updated by:  rudenko at id dot com dot ua
 Reported By:      rudenko at id dot com dot ua
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: Fedara Core 1 (Yarrow)
 PHP Version:      4.3.4
 New Comment:

At the moment I use Zend Optimizer 2.5.0



When I turn off Zend Optimizer, script work correctly


Previous Comments:
------------------------------------------------------------------------

[2004-04-05 03:59:44] [EMAIL PROTECTED]

I've tested it with PHP 5-CVS, 4.3-CVS, 4.3.4 & 4.3.3 and I'm not able
to reproduce this behaviour.



Try to turn off Zend Optimizer, I already saw some similar complaints.

------------------------------------------------------------------------

[2004-04-05 03:47:30] rudenko at id dot com dot ua

Description:
------------
When I unset value of array which equal to $_GET superglobal, php
unsets element in $_GET superglobal, but not in this array.

Reproduce code:
---------------
<? 

echo '<pre>'; 

$x = $_GET; 

print_R($x); 

unset($x['id']); 

print_R($_GET); 

?> 

Expected result:
----------------
Array ( [test] => 123 ) 

Array ( [test] => 123 [id] => 5 )

Actual result:
--------------
Array ( [test] => 123 [id] => 5 )

Array ( [test] => 123 ) 




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27863&edit=1

Reply via email to