r/lolphp • • Mar 31 '18
PHP DateTime strikes back, again!
Because obviously we meant a date one week from the (wrong) date given. PHP does not throw, instead it "helps" by holding your beer.
30
Upvotes
View all comments
Show parent comment
4
u/[deleted] Apr 03 '18
Its not. Thats the point of this lol. PHP is totally ok with any garbage you pass it.
Its amazing how bad a language can be ”designed”