1--TEST-- 2Bug #76556 (get_debug_info handler for BreakIterator shows wrong type) 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) die('skip intl extension not available'); 6?> 7--FILE-- 8<?php 9$it = IntlBreakIterator::createCharacterInstance(); 10$it->setText('foo'); 11var_dump($it); 12?> 13--EXPECTF-- 14object(IntlRuleBasedBreakIterator)#%d (3) { 15 ["valid"]=> 16 bool(true) 17 ["text"]=> 18 string(3) "foo" 19 ["type"]=> 20 string(%d) "%SRuleBasedBreakIterator%S" 21} 22