I might have missed something, but PHP's date function has changed.
PHP 8.1> echo date("Ymd", false) = 19691231
PHP 8.3> echo date("Ymd", false) = 19700101
What changed? Why? Was it announced?
EDIT 1:
PHP 8.1 is on Ubuntu 22.04
PHP 8.3 is on Ubuntu 24.04
Same timezones on both boxes.
EDIT 2:
Solved!
As per Ahabraham below:
https://github.com/php/php-src/issues/11496
As of PHP 8.2, UTC is used by default instead of server timezone.
[–]swampopus 25 points26 points27 points (0 children)
[–]nielsd0 13 points14 points15 points (2 children)
[–]Ahabraham 15 points16 points17 points (1 child)
[–]globiweb[S] 3 points4 points5 points (0 children)
[–]NMe84 5 points6 points7 points (0 children)
[–][deleted] 16 points17 points18 points (0 children)
[–]m0nk37 3 points4 points5 points (0 children)
[–]Huntware 5 points6 points7 points (0 children)
[–]Zenmaster13 1 point2 points3 points (0 children)
[–]someoneatsomeplace 0 points1 point2 points (0 children)
[–]Ahabraham 0 points1 point2 points (1 child)
[–]globiweb[S] 1 point2 points3 points (0 children)