3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents(popen('echo "hello";'));
based on gYWrh
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: popen() expects exactly 2 parameters, 1 given in /in/SfJFN on line 2 Warning: file_get_contents(): Filename cannot be empty in /in/SfJFN on line 2
Output for hhvm-3.10.0 - 3.12.0
Warning: popen() expects exactly 2 parameters, 1 given in /in/SfJFN on line 2 Warning: Filename cannot be empty in /in/SfJFN on line 2
Output for 5.2.9 - 5.2.17
Warning: Wrong parameter count for popen() in /in/SfJFN on line 2 Warning: file_get_contents(): Filename cannot be empty in /in/SfJFN on line 2
Output for 4.3.0 - 5.2.8
Warning: Wrong parameter count for popen() in /in/SfJFN on line 2