hiphop-php /hphp/test/zend/good/ext/intl/tests/breakiter_createCodePointInstance_basic.php

Language PHP Lines 15
MD5 Hash 5295b120ee1eed05d0b414d0b1d79ac7 Estimated Cost $148 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<?php
ini_set("intl.error_level", E_WARNING);
ini_set("intl.default_locale", "pt_PT");

$text = 'ตัวอย่างข้อความ';

$codepoint_it = IntlBreakIterator::createCodePointInstance();
var_dump(get_class($codepoint_it));
$codepoint_it->setText($text);

print_r(iterator_to_array($codepoint_it));

?>
==DONE==
Back to Top