<?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 (
'from' =>
'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), expecting ')' in /in/Y7Vri on line 26
Process exited with code 255. - Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')' in /in/Y7Vri on line 26
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
- Parse error: parse error, unexpected T_DOUBLE_ARROW, expecting ')' in /in/Y7Vri on line 26
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error, expecting `')'' in /in/Y7Vri on line 26
Process exited with code 255.
preferences:
216.55 ms | 1395 KiB | 118 Q