3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( "Titel 1", "Bericht 1", "Link 1", "Titel 2", "Bericht 2", "Link 2", "Titel 3", "Bericht 3", "Link 3", "Titel 4", "Bericht 4", "Link 4", ); foreach($array as $value){ foreach($value as $v){ if($v == 'Link'){ print($value.' ');}} }
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 17
Output for hhvm-3.12.0
Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19 Warning: Invalid argument supplied for foreach() in /in/SCac1 on line 19
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.11