#33203 [NEW]: Document limitations of var_export()

From: Date: Tue, 31 May 2005 14:01:38 +0000
Subject: #33203 [NEW]: Document limitations of var_export()
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368381@lists.php.net to get a copy of this message
From: mfischer@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Document limitations of var_export() Description: ------------ A limitation of var_export() is not documented. It does not support resources. The manual says "generated valid PHP code" which is fine. But it should be noted that resources are not supported, i.e. they're not reflected as resources in var_export anymore. Reproduce code: --------------- $ php -r '$f = fopen("/", "r"); var_export($f);' NULL -- Edit bug report at http://bugs.php.net/?id=33203&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33203&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33203&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33203&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33203&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33203&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33203&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33203&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33203&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33203&r=support Expected behavior: http://bugs.php.net/fix.php?id=33203&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33203&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33203&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33203&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33203&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33203&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33203&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33203&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33203&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33203&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33203&r=mysqlcfg

« previous php.doc (#969368381) next »