ID: 25432 Updated by: [EMAIL PROTECTED] Reported By: alex at primafila dot net -Status: Open +Status: Wont fix Bug Type: Scripting Engine problem Operating System: RedHat, MacOS X PHP Version: 4.3.3 New Comment:
That's what you get when you play around with references without understanding how they work in PHP. In PHP 5 your script works as you expect. Won't be fixed in PHP 4. Previous Comments: ------------------------------------------------------------------------ [2003-09-08 08:25:35] alex at primafila dot net Description: ------------ Weird behavior with objects and references. Reproduce code: --------------- http://alex.primafila.net/bug-sample.phps Expected result: ---------------- array(1) { ["type"]=> string(6) "strong" } array(1) { ["type"]=> string(6) "strong" } Actual result: -------------- array(1) { ["type"]=> &string(6) "strong" } array(1) { ["type"]=> &string(4) "type" } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25432&edit=1