ID: 12961
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Class/Object related
Operating System: Suse 6.3
PHP Version: 4.0.4pl1
New Comment:

Seems to be fixed in the latest Snapshot...

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

[2001-08-25 19:17:00] [EMAIL PROTECTED]

<?
class test {
var $num;

function test($p) {
        $this->num=$p;
}

function nothing() {}

}

$temp[0]=new test("foo");
echo htmlentities(serialize($temp));
$temp[0]->nothing();
echo "<p>".htmlentities(serialize($temp));
?>
----
The above script gives me the following output:

----
a:1:{i:0;O:4:"test":1:{s:3:"num";s:3:"foo";}}
a:1:{}
----

This too breaks the session functions for that object.


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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to