ID: 27659 User updated by: js at enradia dot com Reported By: js at enradia dot com Status: Wont fix Bug Type: Unknown/Other Function Operating System: linux 2.6.3 PHP Version: 5.0.0RC1 New Comment:
There is a _LOT_ of code out there using that. Metabase among others. Is there an alternative? This could be a huge problem if there is none. Thanks Previous Comments: ------------------------------------------------------------------------ [2004-03-23 13:38:14] [EMAIL PROTECTED] This "feature" was undocumented in PHP4 and was never intended to work. ------------------------------------------------------------------------ [2004-03-23 13:09:12] js at enradia dot com Description: ------------ When trying to reassign $this (from session data for example) I get an error: Fatal error: Cannot re-assign $this in... Code used: $this = unserialize($data); This works in php 4. Perhaps this is a feature change but I could not find a reference to any alternatives so I am submitting a bug just in case. Thanks! Joshua Reproduce code: --------------- $this = unserialize($data); Expected result: ---------------- Assignment of session or serialized data to $this object Actual result: -------------- Fatal error: Cannot re-assign $this in... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27659&edit=1