3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include('<?php echo "selam"');
based on bVRu0
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.14, 7.2.0 - 7.2.2, 7.3.0alpha1 - 7.3.0beta1
Warning: include(<?php echo "selam"): failed to open stream: No such file or directory in /in/JiJHb on line 3 Warning: include(): Failed opening '<?php echo "selam"' for inclusion (include_path='.:') in /in/JiJHb on line 3
Output for 7.1.20, 7.2.6
Warning: include(): open_basedir restriction in effect. File(<?php echo "selam") is not within the allowed path(s): (/tmp:/in) in /in/JiJHb on line 3 Warning: include(<?php echo "selam"): failed to open stream: Operation not permitted in /in/JiJHb on line 3 Warning: include(): Failed opening '<?php echo "selam"' for inclusion (include_path='.:') in /in/JiJHb on line 3
Output for hhvm-3.22.0
Warning: include(<?php echo "selam"): File not found in /in/JiJHb on line -1
Output for hhvm-3.18.5 - 3.21.3
Warning: include(<?php echo "selam"): File not found in /in/JiJHb on line 3