3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo filesize('/tmp/mydir/ls');?>
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: filesize(): stat failed for /tmp/mydir/ls in /in/O72jV on line 1
Output for hhvm-3.10.0 - 3.12.0
Warning: filesize(): No such file or directory in /in/O72jV on line 1
Output for 4.3.2 - 4.4.9
Warning: filesize(): Stat failed for /tmp/mydir/ls (errno=2 - No such file or directory) in /in/O72jV on line 1
Output for 4.3.0 - 4.3.1
Warning: filesize() [http://www.php.net/function.filesize]: Stat failed for /tmp/mydir/ls (errno=2 - No such file or directory) in /in/O72jV on line 1