3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(STDIN); var_dump(STDERR);
Output for 5.2.3 - 7.2.0
resource(1) of type (stream) resource(3) of type (stream)
Output for 4.3.0 - 5.2.2
Notice: Use of undefined constant STDIN - assumed 'STDIN' in /in/Fg23j on line 3 string(5) "STDIN" Notice: Use of undefined constant STDERR - assumed 'STDERR' in /in/Fg23j on line 4 string(6) "STDERR"