3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $prizes => array( '1' => array( 'name' => 'Deutschland vs.<br/>Armenien', 'desc' => '06. Juni 2014<br/>In Mainz<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'armenien.jpg', 'expired' => true ), '2' => array( 'name' => 'Deutschland vs.<br/>Schottland', 'desc' => '07. September 2014<br/>In Dortmund<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'schottland.jpg' ), '3' => array( 'name' => 'Deutschland vs.<br/>Irland', 'desc' => '14. Oktober 2014<br/>In Gelsenkirchen<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'irland.jpg' ), '4' => array( 'name' => 'Deutschland vs.<br/>Gibraltar', 'desc' => '14. November 2014<br/>In Bremen<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'gibraltar.jpg' ) ); foreach ($prizes as $id => $prize) { if (isset($prize['expired']) && $prize['expired'] === true) { echo $prize['img']; } }
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/H0qoY on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/H0qoY on line 3
Process exited with code 255.