php-src/ext/intl/tests/breakiter_first_basic.phpt
Gina Peter Banyard c42e6d62d8
ext/intl: modernize tests (#19392)
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
2025-08-06 23:33:48 +01:00

20 lines
308 B
PHP

--TEST--
IntlBreakIterator::first(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
$bi = IntlBreakIterator::createWordInstance('pt');
$bi->setText('foo bar trans');
var_dump($bi->current());
var_dump($bi->next());
var_dump($bi->first());
var_dump($bi->current());
?>
--EXPECT--
int(0)
int(3)
int(0)
int(0)