1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 06:21:12 +02:00
Files
archived-php-src/ext/intl/tests/bug55562.phpt
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

15 lines
306 B
PHP

--TEST--
grapheme_substr() - Bug55562 - grapheme_substr() returns false if length parameter is to large
--EXTENSIONS--
intl
--FILE--
<?php
var_dump(
grapheme_substr('FOK', 1, 20), // expected: OK
grapheme_substr('한국어', 1, 20) //expected: 국어
);
?>
--EXPECT--
string(2) "OK"
string(6) "국어"