- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
- Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/LMQrY on line 6
Process exited with code 255.
<?php
$var = array('test'=>1, 'test2'=>2);
if ($var) {
echo $var['test']
} else {
echo $var['test2']
}