3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = (true) ? &$a : ''; $b = 2; var_dump($a); //$b = (true) ? $b : '';
Output for 5.3.0 - 5.5.9
Parse error: syntax error, unexpected '&' in /in/91vTF on line 5
Process exited with code 255.