mirror of
https://github.com/php/php-src.git
synced 2026-04-22 15:38:49 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
16 lines
308 B
PHP
16 lines
308 B
PHP
--TEST--
|
|
Bug #65732 (grapheme_*() is not Unicode compliant on CR LF sequence)
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
var_dump(grapheme_strlen("\r\n"));
|
|
var_dump(grapheme_substr(implode("\r\n", ['abc', 'def', 'ghi']), 5));
|
|
var_dump(grapheme_strrpos("a\r\nb", 'b'));
|
|
?>
|
|
--EXPECT--
|
|
int(1)
|
|
string(7) "ef
|
|
ghi"
|
|
int(2)
|