From: marc-bennewitz at arcor dot de Operating system: WinXP PHP version: 5.3.0 PHP Bug Type: Scripting Engine problem Bug description: Missing Error on serialize resources with serialize & wddx_serialize_value
Description: ------------ Missing Error on serialize resources with serialize and wddx_serialize_value Reproduce code: --------------- $value = fopen(__FILE__, 'rb'); var_dump(serialize($value)); var_dump(wddx_serialize_value($value)); Expected result: ---------------- FALSE and PHP-Notice-Message for both serialize calls Actual result: -------------- string(4) "i:0;" string(61) "<wddxPacket version='1.0'><header/><data></data></wddxPacket>" -- Edit bug report at http://bugs.php.net/?id=48976&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48976&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48976&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48976&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=48976&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=48976&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48976&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48976&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48976&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48976&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48976&r=support Expected behavior: http://bugs.php.net/fix.php?id=48976&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48976&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48976&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48976&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48976&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48976&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48976&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48976&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48976&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48976&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48976&r=mysqlcfg