1--TEST-- 2Bug #61961 (file_get_content leaks when access empty file with max length) 3--FILE-- 4<?php 5$tmp_empty_file = __FILE__ . ".tmp"; 6file_put_contents($tmp_empty_file, ""); 7 8var_dump(file_get_contents($tmp_empty_file, false, NULL, 0, 10)); 9unlink($tmp_empty_file); 10?> 11--EXPECT-- 12string(0) "" 13