3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php file_put_contents('/tmp/test_require.php', '<?php echo $_GET[\'a\']; '); require '/tmp/test_require.php?a=4';
Output for 5.1.0 - 7.1.0
Warning: require(/tmp/test_require.php?a=4): failed to open stream: No such file or directory in /in/HSEhE on line 5 Fatal error: require(): Failed opening required '/tmp/test_require.php?a=4' (include_path='.:') in /in/HSEhE on line 5
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: main(/tmp/test_require.php?a=4): failed to open stream: No such file or directory in /in/HSEhE on line 5 Fatal error: main(): Failed opening required '/tmp/test_require.php?a=4' (include_path='.:') in /in/HSEhE on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: file_put_contents() in /in/HSEhE on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: file_put_contents() in /in/HSEhE on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: file_put_contents() in /in/HSEhE on line 3