ID: 27863 Updated by: [EMAIL PROTECTED] Reported By: rudenko at id dot com dot ua -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Fedara Core 1 (Yarrow) PHP Version: 4.3.4 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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