Bug #78966 [NEW]: strtotime transform error with

From: Date: Mon, 16 Dec 2019 08:06:19 +0000
Subject: Bug #78966 [NEW]: strtotime transform error with
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224322@lists.php.net to get a copy of this message
From: jackyxie007 at gmail dot com Operating system: Linux Ubuntu 4.4.0-151-generic PHP version: Irrelevant Package: Date/time related Bug Type: Bug Bug description:strtotime transform error with Description: ------------ With decimal length of 9 digits after the Datetime string(Eg: 2019-12-15T17:51:38.948471000Z), strtotime return false. Test script: --------------- <?php $str = '2019-12-15T17:51:38.948471000Z'; var_dump(strtotime($str)); Expected result: ---------------- int(1576432298) Actual result: -------------- bool(false) -- Edit bug report at https://bugs.php.net/bug.php?id=78966&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78966&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78966&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78966&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78966&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78966&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78966&r=support Expected behavior: https://bugs.php.net/fix.php?id=78966&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78966&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78966&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78966&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78966&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78966&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78966&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78966&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78966&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78966&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78966&r=mysqlcfg

« previous php.bugs (#224322) next »