mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
15 lines
298 B
PHP
15 lines
298 B
PHP
--TEST--
|
|
IntlBreakIterator::__construct() should not be callable
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
try {
|
|
new IntlBreakIterator();
|
|
} catch (Throwable $e) {
|
|
echo $e::class, ': ', $e->getMessage(), PHP_EOL;
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
Error: Call to private IntlBreakIterator::__construct() from global scope
|