ID: 27120 User updated by: reiersol at online dot no Reported By: reiersol at online dot no -Status: Feedback +Status: Open Bug Type: Zend Engine 2 problem Operating System: RedHat 9.0 PHP Version: 5CVS-2004-02-02 (dev) New Comment:
I'm afraid I'm not willing to go through another round of spending hours developing another example, and then another one. I urge you to try the example as it is. PHPUnit is on PEAR. It's a test framework. People who do testing and debugging should be willing and able to install it. It's also a good way to get more precision so we know we're not overlooking anything or reading the results differently. Previous Comments: ------------------------------------------------------------------------ [2004-02-03 01:55:13] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. One without any includes, thankyouverymuch.. ------------------------------------------------------------------------ [2004-02-02 03:58:16] reiersol at online dot no Description: ------------ This bug is actually the "fixed" version of bug #25975. I'm deliberately reporting it as a new bug, since the history of bug #25975 seems to be causing confusion. The bug fix is not satisfactory, since the objects still do not behave the same way before and after serialization. I believe this has serious consequences for using objects in session-based applications. By uncommenting the two commented lines in the code, you can run the test without serialization. This produces the "expected result". Reproduce code: --------------- http://home.online.no/~reiersol/referencetest.html Expected result: ---------------- TestCase ReferenceTest->testChangeObject() passed TestCase ReferenceTest->testReplaceObject() passed Actual result: -------------- TestCase ReferenceTest->testChangeObject() passed TestCase ReferenceTest->testReplaceObject() failed: expected true, actual false ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27120&edit=1