3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=include 'Oh3bc'; $b=include_once 'Oh3bc'; var_dump($a,$b);
Output for 5.6.28, 7.0.14 - 7.1.0
Warning: include(Oh3bc): failed to open stream: No such file or directory in /in/2BSok on line 2 Warning: include(): Failed opening 'Oh3bc' for inclusion (include_path='.:') in /in/2BSok on line 2 Warning: include_once(Oh3bc): failed to open stream: No such file or directory in /in/2BSok on line 3 Warning: include_once(): Failed opening 'Oh3bc' for inclusion (include_path='.:') in /in/2BSok on line 3 bool(false) bool(false)
Output for 4.3.0 - 5.6.25, 7.0.0 - 7.0.10
int(1) bool(true)
Output for hhvm-3.10.0 - 3.12.0
Warning: File not found: Oh3bc in /in/2BSok on line 2 Warning: File not found: Oh3bc in /in/2BSok on line 3 bool(false) bool(false)