3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public static function A() {} public function foo() {f(&$arg)}}
Output for 5.4.0 - 5.4.21
Fatal error: Call-time pass-by-reference has been removed in /in/HRIlZ on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Deprecated: Call-time pass-by-reference has been deprecated in /in/HRIlZ on line 2 Parse error: syntax error, unexpected '}' in /in/HRIlZ on line 2
Process exited with code 255.