3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prizes = array ( 1 => array ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-05-18 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-06-06 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), '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 ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-08-21 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-09-07 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), '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 ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-09-24 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-10-14 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), '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 ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-10-29 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-11-14 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), '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 git.master, git.master_jit, rfc.property-hooks
armenien.jpg

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.01 ms | 401 KiB | 8 Q