3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_GETO['complr'] = 'complr'; $_GETO['complc'] = 'complc'; $reunion_url = 'reunion_url'; $course_url = 'course_url'; list($voiture, $bus) = (isset($_GETO['complr'], $_GETO['complc'])) ? [$_GETO['complr'], $_GETO['complc']] : [$reunion_url, $course_url]; echo $voiture; echo "\n"; echo $bus;
based on 0YXHr
Output for 5.4.11 - 7.3.0beta1
complr complc
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/r4gfW on line 11
Process exited with code 255.