3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 2; $b = &$a; var_dump(&$b);
based on m64bc
Output for 7.0.0
Parse error: syntax error, unexpected '&' in /in/jKBZQ on line 5
Process exited with code 255.
Output for 5.4.10 - 5.6.16
Fatal error: Call-time pass-by-reference has been removed in /in/jKBZQ on line 5
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/jKBZQ on line 5 &int(2)