1--TEST-- 2IntlBreakIterator::__construct() should not be callable 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7--FILE-- 8<?php 9ini_set("intl.error_level", E_WARNING); 10 11new IntlBreakIterator(); 12--EXPECTF-- 13Fatal error: Uncaught Error: Call to private IntlBreakIterator::__construct() from invalid context in %s:%d 14Stack trace: 15#0 {main} 16 thrown in %s on line %d 17