From: matthias dot hoseit at comline dot de
Operating system: Windows 2000
PHP version: 5.0.2
PHP Bug Type: Documentation problem
Bug description: serialize doesn't work on internal classes
Description:
------------
The function serialize() doesn't work on internal classes.
For example serializing a DOMDocument object return a byte-stream with an
empty value ("O:11:"DOMDocument":0:{}").
It should be mentioned in the PHP Manual of serialize(), that this
function only work on user defined classes.
Best Regards Matthias hoseit
--
Edit bug report at http://bugs.php.net/?id=30323&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30323&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30323&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30323&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30323&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30323&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30323&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30323&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30323&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30323&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30323&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30323&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30323&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30323&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30323&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30323&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30323&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30323&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30323&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30323&r=mysqlcfg