3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php file_put_contents('/tmp/file', 'hello, world'); var_dump(file_get_contents('/tmp/file', false, null, 0, null)); var_dump(file_get_contents('/tmp/file', false, null, 0));
based on TGRQP
Output for 5.6.0 - 7.3.0beta1
string(0) "" string(12) "hello, world"