ID:               27120
 Updated by:       [EMAIL PROTECTED]
 Reported By:      reiersol at online dot no
-Status:           Open
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: RedHat 9.0
 PHP Version:      5CVS-2004-02-02 (dev)
 New Comment:

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..



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

[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

Reply via email to