3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( (int) fopen('/', 'r') );
Output for 4.3.2 - 7.1.0
Warning: fopen(/): failed to open stream: Permission denied in /in/EN9Dp on line 3 int(0)
Output for 4.3.0 - 4.3.1
Warning: fopen(/) [http://www.php.net/function.fopen]: failed to create stream: Permission denied in /in/EN9Dp on line 3 int(0)