1--TEST--
2IntlTimeZone clone handler: error test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7
8class A extends IntlTimeZone {
9    public function __construct() {}
10}
11
12$tz = new A();
13try {
14    $b = clone $tz;
15    var_dump($b);
16} catch (Throwable $e) {
17    echo $e::class, ': ', $e->getMessage(), PHP_EOL;
18}
19
20?>
21--EXPECT--
22Error: Cannot clone uninitialized IntlTimeZone
23