3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(is_dir('/foo/bar/baz/'));
based on sXSHV
Output for 7.1.25 - 7.3.1
Warning: is_dir(): open_basedir restriction in effect. File(/foo/bar/baz/) is not within the allowed path(s): (/tmp:/in:/etc) in /in/Q6PoE on line 3 bool(false)
Output for 5.3.18 - 7.1.10
bool(false)