Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date_get_last_errors(), DateTime::getLastErrors() may return false #8478

Merged

Commits on Sep 13, 2022

  1. date_get_last_errors(), DateTime::getLastErrors() may return false

    Up to PHP 8.2, these functions return false if no previous date operations have been performed. In PHP 8.2, false is returned after a date operation that yields neither warnings nor errors:
    
    https://3v4l.org/HBq0q
    https://3v4l.org/3QsKY
    Signed-off-by: George Steel <george@net-glue.co.uk>
    gsteel committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    17ca8ef View commit details
    Browse the repository at this point in the history