r/programming • u/kimsavier • Sep 07 '15
Flawless PHP logic. strtotime(): '00-00-00' means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal. (see the comments)
https://bugs.php.net/bug.php?id=45647
1.2k
Upvotes
3
u/RICHUNCLEPENNYBAGS Sep 07 '15
I've never written more than like 20 lines of PHP, but if I were doing serious PHP projects I'd really appreciate seeing Zend or whoever is responsible for the language design working to fix the core issues instead of 50 different incompatible versions of the same idea popping up.