3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = &$a; $b = 2; var_dump($a); //$b = (true) ? $b : '';
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
int(2)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/0Q4VB on line 9
Process exited with code 255.