From: gabriel at telana dot com Operating system: Linux FC1 / AMD64 PHP version: 5.0.3 PHP Bug Type: Date/time related Bug description: strtotime(int) does not return -1 on amd64
Description: ------------ calling strtotime with an integer as the first argument correctly returns -1 on i386, but a huge 64-bit int on AMD64. Reproduce code: --------------- echo strtotime(time()); Expected result: ---------------- -1 Actual result: -------------- 3420597366000 -- Edit bug report at http://bugs.php.net/?id=31223&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31223&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31223&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31223&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31223&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31223&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31223&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31223&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31223&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31223&r=support Expected behavior: http://bugs.php.net/fix.php?id=31223&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31223&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31223&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31223&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31223&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31223&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31223&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31223&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31223&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31223&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31223&r=mysqlcfg