--TEST-- Bug #62081: IntlDateFormatter leaks memory if called twice --INI-- date.timezone=Atlantic/Azores --EXTENSIONS-- intl --FILE-- __construct('en', 1, 1)); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } ?> --EXPECT-- IntlException: IntlDateFormatter::__construct(): cannot call constructor twice