Skip to content

[pull] master from php:master#714

Merged
pull[bot] merged 7 commits intoturkdevops:masterfrom
php:master
Feb 5, 2026
Merged

[pull] master from php:master#714
pull[bot] merged 7 commits intoturkdevops:masterfrom
php:master

Conversation

@pull
Copy link

@pull pull bot commented Feb 5, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Girgias and others added 7 commits February 5, 2026 16:09
As the shuffle() and array_rand() functions use part of the Random API
There are two issues:
1. The 'e' formatter doesn't output the seconds of the timezone even if
   it has seconds.
2. var_dump(), (array) cast, serialization, ... don't include the
   timezone second offset in the output. This means that, for example,
   serializing and then unserializing a date object loses the seconds of
   the timezone. This can be observed by comparing the output of
   getTimezone() for `$dt` vs the unserialized object in the provided test.

Closes GH-20764.
* PHP-8.4:
  Fix timezone offset with seconds losing precision
* PHP-8.5:
  Fix timezone offset with seconds losing precision
@pull pull bot locked and limited conversation to collaborators Feb 5, 2026
@pull pull bot added the ⤵️ pull label Feb 5, 2026
@pull pull bot merged commit 10fb64f into turkdevops:master Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants