3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function fibo( &$a, &$b ) { var_dump( &$b ); $a = $b; $b = 3; } $a = 1; $b = 2; Fibo( $a, $b ); var_dump( $a, $b );
Output for 5.4.0 - 5.4.26
Fatal error: Call-time pass-by-reference has been removed in /in/eI5hI on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/eI5hI on line 5 &int(2) int(2) int(3)