bug76556.phpt   [plain text]


--TEST--
Bug #76556 (get_debug_info handler for BreakIterator shows wrong type)
--SKIPIF--
<?php
if (!extension_loaded('intl')) die('skip intl extension not available');
?>
--FILE--
<?php
$it = IntlBreakIterator::createCharacterInstance();
$it->setText('foo');
var_dump($it);
?>
===DONE===
--EXPECTF--
object(IntlRuleBasedBreakIterator)#%d (3) {
  ["valid"]=>
  bool(true)
  ["text"]=>
  string(3) "foo"
  ["type"]=>
  string(%d) "%SRuleBasedBreakIterator%S"
}
===DONE===