3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array( 'c' => 100, 'a' => 300, 'b' => 50, 'd' => 250); @arsort( &$x ) var_dump( $x );
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected '&' in /in/EUMsf on line 4
Process exited with code 255.
Output for 5.4.0 - 5.6.16
Fatal error: Call-time pass-by-reference has been removed in /in/EUMsf on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/EUMsf on line 4 Parse error: syntax error, unexpected T_STRING in /in/EUMsf on line 5
Process exited with code 255.