3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = fopen('php://stdout', 'r');fwrite($f, 'te');$f = fopen('php://output', 'r');fwrite($f, 'st');
Output for 4.3.2 - 7.1.0
test
Output for 4.3.0 - 4.3.1
Warning: fopen(php://stdout) [http://www.php.net/function.fopen]: failed to create stream: Invalid argument in /in/2SlLa on line 2 Warning: fwrite(): supplied argument is not a valid stream resource in /in/2SlLa on line 2 st