<?php
$data = [
[
'How did the chicken cross the road?',
'With his feet you stupid shit.'
],
[
'How did the monkey cross the road?',
'Seriously, with his feet. What are you, retarded?',
],
];
foreach($data as list($q, $a)){
echo "Question: $q\n";
echo "Answer: $a\n";
}
Question: How did the chicken cross the road?
Answer: With his feet you stupid shit.
Question: How did the monkey cross the road?
Answer: Seriously, with his feet. What are you, retarded?
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected 'list' (T_LIST) in /in/U9V3J on line 14
Process exited with code 255.