php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48531 strtotime() still does not recongize milleseconds
Submitted: 2009-06-11 14:59 UTC Modified: 2009-06-12 09:16 UTC
From: nicholas dot j dot miller at gmail dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 5.2.9 OS: Linux (CentOS)
Private report: No CVE-ID: None
 [2009-06-11 14:59 UTC] nicholas dot j dot miller at gmail dot com
Description:
------------
This is a duplicate of bug 44426, which is incorrectly marked as complete. Try it yourself :)

Reproduce code:
---------------
<?php
var_dump(strtotime("Aug 27 2007 12:00:00:000AM"));
?>

Expected result:
----------------
A valid timestamp

Actual result:
--------------
boolean(false)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-12 09:16 UTC] derick@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

This has been added to PHP 5.3 only.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 18:01:31 2025 UTC