3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( is_writable('foo.txt'));
based on 7t0ov
Output for 7.1.25 - 7.3.1
Warning: is_writable(): open_basedir restriction in effect. File(foo.txt) is not within the allowed path(s): (/tmp:/in:/etc) in /in/b3Tq9 on line 3 bool(false)
Output for 7.1.20
Warning: is_writable(): open_basedir restriction in effect. File(foo.txt) is not within the allowed path(s): (/tmp:/in) in /in/b3Tq9 on line 3 bool(false)
Output for 4.3.0 - 7.1.10
bool(false)