3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo fileperms('sys'); /* foreach(glob('sys/*') as $o) { echo "$o".PHP_EOL; }*/
based on JpbKn
Output for 5.5.24 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
16877
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.3 - 5.4.45
16749
Output for 5.0.0 - 5.2.2
Warning: fileperms(): stat failed for sys in /in/50ePp on line 3
Output for 4.3.2 - 4.4.9
Warning: fileperms(): Stat failed for sys (errno=2 - No such file or directory) in /in/50ePp on line 3
Output for 4.3.0 - 4.3.1
Warning: fileperms() [http://www.php.net/function.fileperms]: Stat failed for sys (errno=2 - No such file or directory) in /in/50ePp on line 3