go to bug id or search bugs for
strtotime("19:30 Dec 17"); // works okay
strtotime("Dec 17 19:30"); // returns -1
that's a bug i think. strangely enough the bug wasn't there in Php 4.0.5.. only in 4.0.6
Add a Patch
Add a Pull Request
Can you try the latest CVS? There are some bugs fixed related to strtotime.
I could reproduce this with 4.1.0 and 4.2.0dev, it's not fixed.
But it's not a bug either, as strtotime does not understand every date syntax.
Making this s feature request.
You should better practice your type-changing skills ;)
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
Thank you for the report, and for helping us make PHP better.
Fixed in 5.1.0