From: stochnagara at hotmail dot com Operating system: windows xp PHP version: 5.1.0 PHP Bug Type: Date/time related Bug description: New date class crashes on get_object_vars
Description: ------------ The newly introduced date class in php 5.1 crashes Apache when get_object_vars is called on an instance of that class. Reproduce code: --------------- <? $date = new date; var_dump(get_object_vars($date)); Expected result: ---------------- Array (...) Actual result: -------------- Apache crashes. -- Edit bug report at http://bugs.php.net/?id=35402&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35402&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35402&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35402&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35402&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35402&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35402&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35402&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35402&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35402&r=support Expected behavior: http://bugs.php.net/fix.php?id=35402&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35402&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35402&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35402&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35402&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35402&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35402&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35402&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35402&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35402&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35402&r=mysqlcfg