Bug #10863: serialize/unserialize doesn't handle references
| From: | tom dot hurst at clara dot net | Date: | Mon, 14 May 2001 22:51:55 +0000 |
| Subject: | Bug #10863: serialize/unserialize doesn't handle references | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55256@lists.php.net to get a copy of this message | ||
From: tom.hurst@clara.net
Operating system: Debian 2.3
PHP version: 4.0 Latest CVS (2001-05-14)
PHP Bug Type: Feature/Change Request
Bug description: serialize/unserialize doesn't handle references
In parsing a template in my template class I use references to strings inside the same array to
improve performance.
It would be nice to be able to serialize this and cache the parsetree to save reparsing. I can think
of cases where restoring references to external variables would be handy too.
If not, maybe this should be documented? Or a warning raised at (say) level E_NOTICE if the object
couldn't be fully serialized?
--
Edit Bug report at: http://bugs.php.net/?id=10863&edit=1