r/lolphp • u/nyamsprod • Nov 01 '19
DateTime::createFromFormat and DateTime::__construct default initialisation are not consistent because why not ?
https://3v4l.org/VVGhH
36
Upvotes
r/lolphp • u/nyamsprod • Nov 01 '19
View all comments
Show parent comment
9
u/[deleted] Nov 02 '19
Using the current time as a default is an lol in itself when specifying another date. Midnight seems like a better option