breakiter___construct.phpt 348 B

1234567891011121314
  1. --TEST--
  2. IntlBreakIterator::__construct() should not be callable
  3. --SKIPIF--
  4. <?php
  5. if (!extension_loaded('intl'))
  6. die('skip intl extension not enabled');
  7. --FILE--
  8. <?php
  9. ini_set("intl.error_level", E_WARNING);
  10. new IntlBreakIterator();
  11. --EXPECTF--
  12. Fatal error: Call to private IntlBreakIterator::__construct() from invalid context in %s on line %d