Skip to content

Fatal error when using the default PHP locale #17

Description

@jonasraoni

The code (new IntlDateFormatter('C'))->format(new DateTime()) generates a fatal error on the latest PHP 8.x releases, see a reproduction case here and the exception below:

PHP Fatal error: Uncaught Error: Found unconstructed IntlDateFormatter in /var/www/html/vendor/php81_bc/strftime/src/php-8.1-strftime.php:100

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions