3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(is_writable(STDIN));
Output for 5.4.0 - 7.1.0
Warning: is_writable() expects parameter 1 to be a valid path, resource given in /in/i58fV on line 3 NULL
Output for 5.3.0 - 5.3.29
Warning: is_writable() expects parameter 1 to be string, resource given in /in/i58fV on line 3 NULL
Output for 5.2.3 - 5.2.17
bool(false)
Output for 4.3.0 - 5.2.2
Notice: Use of undefined constant STDIN - assumed 'STDIN' in /in/i58fV on line 3 bool(false)