3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'g'; fwrite('php://stdout', $a);
Output for 5.3.0 - 7.1.0
Warning: fwrite() expects parameter 1 to be resource, string given in /in/58Jm8 on line 3
Output for 4.3.0 - 5.2.17
Warning: fwrite(): supplied argument is not a valid stream resource in /in/58Jm8 on line 3