3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = "C:\Windows\win.ini";$size = filesize($f);echo $f . " is " . $size . " bytes.";
based on LeMvW
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: filesize(): stat failed for C:\Windows\win.ini in /in/RCsAt on line 2 C:\Windows\win.ini is bytes.
Output for hhvm-3.10.0 - 3.12.0
Warning: filesize(): No such file or directory in /in/RCsAt on line 2 C:\Windows\win.ini is bytes.
Output for 4.3.2 - 4.4.9
Warning: filesize(): Stat failed for C:\Windows\win.ini (errno=2 - No such file or directory) in /in/RCsAt on line 2 C:\Windows\win.ini is bytes.
Output for 4.3.0 - 4.3.1
Warning: filesize() [http://www.php.net/function.filesize]: Stat failed for C:\Windows\win.ini (errno=2 - No such file or directory) in /in/RCsAt on line 2 C:\Windows\win.ini is bytes.