1--TEST-- 2Bug #65732 (grapheme_*() is not Unicode compliant on CR LF sequence) 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) die('skip intl extension not available'); 6?> 7--FILE-- 8<?php 9var_dump(grapheme_strlen("\r\n")); 10var_dump(grapheme_substr(implode("\r\n", ['abc', 'def', 'ghi']), 5)); 11var_dump(grapheme_strrpos("a\r\nb", 'b')); 12?> 13--EXPECT-- 14int(1) 15string(7) "ef 16ghi" 17int(2) 18