#36674 [NEW]: var_export __set_state example

From: Date: Thu, 09 Mar 2006 22:11:28 +0000
Subject: #36674 [NEW]: var_export __set_state example
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372317@lists.php.net to get a copy of this message
From: Kevin at StormTide dot ca Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: var_export __set_state example Description: ------------ In var_export documentation there is an example output for var_export on classes that shows __set_state but no information on implementing __set_state in a class to deserialize it. Both static and instance recreations should be covered. -- Edit bug report at http://bugs.php.net/?id=36674&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36674&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36674&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36674&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36674&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36674&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36674&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36674&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36674&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36674&r=support Expected behavior: http://bugs.php.net/fix.php?id=36674&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36674&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36674&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36674&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36674&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36674&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36674&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36674&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36674&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36674&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36674&r=mysqlcfg

« previous php.doc (#969372317) next »