1--TEST--
2IntlCalendar::createInstance: bad arguments
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8
9class X extends IntlTimeZone {
10function __construct() {}
11}
12
13var_dump(intlcal_create_instance(new X, NULL));
14?>
15--EXPECTF--
16Warning: intlcal_create_instance(): intlcal_create_instance: passed IntlTimeZone is not properly constructed in %s on line %d
17NULL
18