[php-src] Issue #8217: new DateTime("@".$timestamp) should not crash (throws fatal error) with empty timestamp

From: Date: Fri, 18 Mar 2022 13:06:56 +0000
Subject: [php-src] Issue #8217: new DateTime("@".$timestamp) should not crash (throws fatal error) with empty timestamp
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240407@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8217 Comment Author: PepeLopez Thanks for the suggestion! I'm sorry for the confusion, the code snippet incl. comment was taken out of context here, and I explained it wrong. At the point of the code it was meant like "using timestamp to force UTC date" (instead of a non-UTC date string).

« previous php.bugs (#240407) next »