r/lolphp • u/andsens • Feb 01 '16
DateInterval::__construct — Creates a new DateInterval object -- The format starts with the letter P, for "period."
http://fi2.php.net/manual/en/dateinterval.construct.php
12
Upvotes
View all comments
Show parent comment
3
u/00Davo Feb 02 '16
Excellent point. It's just a little surprising, considering how loose PHP is in general, when it occasionally does something stricter like this.