--TEST-- Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 2 --SKIPIF-- --FILE-- 8192 $string .= str_repeat(chr(rand(32, 127)), 8184); // Ending in this string $string .= "say"; $finfo = new finfo(); $type = $finfo->buffer($string); var_dump($type); ?> --EXPECT-- string(60) "ASCII text, with very long lines, with CRLF line terminators"