summaryrefslogtreecommitdiff
path: root/ext/intl/tests/bug76556.phpt
blob: 57395fba2d2345d4c6f12424cb0c5b1a180064e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--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===