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