mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
c42e6d62d8
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
20 lines
338 B
PHP
20 lines
338 B
PHP
--TEST--
|
|
IntlCalendar::createInstance: bad arguments
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
class X extends IntlTimeZone {
|
|
function __construct() {}
|
|
}
|
|
|
|
try {
|
|
intlcal_create_instance(new X, NULL);
|
|
} catch (IntlException $e) {
|
|
echo $e->getMessage();
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
intlcal_create_instance(): passed IntlTimeZone is not properly constructed
|