3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v = 18; function f( &$p ) { $p = 36; return $p; } echo call_user_func('f', &$v);
Output for 5.4.0 - 5.4.13
Fatal error: Call-time pass-by-reference has been removed in /in/TKIRa on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/TKIRa on line 7 36