3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = 2; $c = 3; echo $a ?: $b : $c; $a = null; echo $a ?: $b : $c; $b = null; echo $a ?: $b : $c;
Output for 5.3.0 - 5.4.12
Parse error: syntax error, unexpected ':', expecting ',' or ';' in /in/1s7l7 on line 7
Process exited with code 255.