You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pkusmierczyk I think that would be the same as here #9950, so it is documented BC (via php/doc-en@ef51b1c) "number symbols in relative formats no longer accept multiple signs, e.g. +-2"
Description
The following code:
Resulted in this output:
For values of
$days
lower than 0 results are incorrect (according to version 8.1). If value is -1 we getBut I expected this output instead:
PHP Version
8.2
Operating System
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: