3v4l.org

run code in 200+ 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 - 7.2.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 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.