mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
15 lines
348 B
PHP
15 lines
348 B
PHP
--TEST--
|
|
IntlBreakIterator::__construct() should not be callable
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('intl'))
|
|
die('skip intl extension not enabled');
|
|
--FILE--
|
|
<?php
|
|
ini_set("intl.error_level", E_WARNING);
|
|
|
|
new IntlBreakIterator();
|
|
--EXPECTF--
|
|
|
|
Fatal error: Call to private IntlBreakIterator::__construct() from invalid context in %s on line %d
|