3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(file_exists('/.htpasswd'));
based on JBpZT
Output for 7.1.20, 7.2.6
Warning: file_exists(): open_basedir restriction in effect. File(/.htpasswd) is not within the allowed path(s): (/tmp:/in) in /in/5A57J on line 3 bool(false)
Output for 5.5.0 - 7.1.10, 7.2.0
bool(false)