3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $file = '/etc/passwd'; $handle = fopen($file, 'r'); $data = fread($handle, filesize($file); fclose($handle); echo $data;
Output for 5.3.0 - 5.4.4
Parse error: syntax error, unexpected ';' in /in/DUfLp on line 5
Process exited with code 255.