Re: Remove warning when parsing datetime with + symbol?

From: Date: Mon, 28 Nov 2022 15:50:37 +0000
Subject: Re: Remove warning when parsing datetime with + symbol?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-119045@lists.php.net to get a copy of this message
On Thu, 24 Nov 2022, mickmackusa wrote: > Can anyone explain to me why it is desirable/beneficial for the DateTime > class to store a warning that trailing characters were ignored while > parsing a date/time string with the + symbol in createFromFormat()? I have no idea why I decided that was a good idea back all these years, and I'm perfectly happy to remove that restriction from PHP 8.3 forwards — it's too late to do that in PHP 8.2 now, as it's being released next week. cheers, Derick -- PHP 7.4 Release Manager Host of PHP Internals News: https://phpinternals.news Like Xdebug? Consider supporting me: https://xdebug.org/support https://derickrethans.nl | https://xdebug.org | https://dram.io twitter: @derickr and @xdebug

« previous php.internals (#119045) next »