[php-src] Issue #13376: DateTime::setTimestamp should accept int|float $timestamp

From: Date: Mon, 12 Feb 2024 10:36:13 +0000
Subject: [php-src] Issue #13376: DateTime::setTimestamp should accept int|float $timestamp
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246442@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13376 Author: divinity76 ### Description much like the constructor accepts ``` new DateTime("@0.123456"); // 1970-01-01 00:00:00.123456 ``` setTimestamp should also accept ``` $dt->setTimestamp(0.123456); ```

« previous php.bugs (#246442) next »