ID: 33203 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem PHP Version: Irrelevant New Comment:
According to http://bugs.php.net/bug.php?id=29361 it also doesn't supported objects containing references to other objects. This should be documented too. Previous Comments: ------------------------------------------------------------------------ [2005-05-31 16:01:37] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=33203&edit=1
