3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( 'page_title' => 'page title' ); ob_start(); if(count($data) > 0) extract($data); include_once($target); $content = ob_get_clean(); echo $content;
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: target in /in/GkIa5 on line 9 Warning: include_once(/): failed to open stream: Permission denied in /in/GkIa5 on line 9 Warning: include_once(): Failed opening '' for inclusion (include_path='.:') in /in/GkIa5 on line 9
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: target in /in/GkIa5 on line 9 Warning: File not found: in /in/GkIa5 on line 9
Output for 5.2.9 - 5.2.17
Notice: Undefined variable: target in /in/GkIa5 on line 9 Warning: include_once(): Filename cannot be empty in /in/GkIa5 on line 9 Warning: include_once(): Failed opening '' for inclusion (include_path='.:') in /in/GkIa5 on line 9
Output for 5.1.0 - 5.2.8
Notice: Undefined variable: target in /in/GkIa5 on line 9 Warning: include_once(): Failed opening '' for inclusion (include_path='.:') in /in/GkIa5 on line 9
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: target in /in/GkIa5 on line 9 Warning: main(): Failed opening '' for inclusion (include_path='.:') in /in/GkIa5 on line 9
Output for 4.3.2 - 5.0.3
Notice: Undefined variable: target in /in/GkIa5 on line 9 Warning: main(): Failed opening '' for inclusion (include_path='.:') in /in/GkIa5 on line 9
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: target in /in/GkIa5 on line 9 Warning: main() [http://www.php.net/function.main]: Failed opening '' for inclusion (include_path='.:') in /in/GkIa5 on line 9