3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $movieInfo = $uniqueTitles["$title"]; foreach($movieInfo as $key){ echo "$key<br/>"; }
Output for 5.5.0 - 7.1.0
Notice: Undefined variable: title in /in/2LSkC on line 3 Notice: Undefined variable: uniqueTitles in /in/2LSkC on line 3 Warning: Invalid argument supplied for foreach() in /in/2LSkC on line 4
Output for 5.2.3 - 5.4.45
Warning: Invalid argument supplied for foreach() in /in/2LSkC on line 4
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.2.2
<br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/in/2LSkC</b> on line <b>4</b><br />
Output for 4.3.11