3v4l.org

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