3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_export(is_readable('/etc/hosts'));
Output for 4.3.0 - 7.2.0, 7.3.0rc3 - 7.3.0rc4
true
Output for 7.2.6
Warning: is_readable(): open_basedir restriction in effect. File(/etc/hosts) is not within the allowed path(s): (/tmp:/in) in /in/sYoJa on line 3 false