mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
a72bab1b9a
Obviously, different compilers mangle the C++ class name differently. We should neither expect a prefix nor a suffix.
24 lines
472 B
PHP
24 lines
472 B
PHP
--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===
|