You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Uncaught Exception: Failed to parse time string (,3 13:42:21 -0700) at position 1 (3): Unexpected character in /home/user/scripts/code.php:4
Stack trace:
#0 /home/user/scripts/code.php(4): DateTimeImmutable->__construct(',3 13:42:21 -07...')
#1 {main}
thrown in /home/user/scripts/code.php on line 4
Edit: Datetimeimmutable docs are correct - these should probably match those in terms of exceptions
The text was updated successfully, but these errors were encountered:
Should probably mention the fact that this throws a fatal error when passed an invalid time string.
e.g.
Yields:
Edit: Datetimeimmutable docs are correct - these should probably match those in terms of exceptions
The text was updated successfully, but these errors were encountered: