3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public function b() { return; } }; $a = new A; $a->b(&$v); h(&$v);
Output for 5.4.0 - 5.4.19
Fatal error: Call-time pass-by-reference has been removed in /in/Ghcci on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Deprecated: Call-time pass-by-reference has been deprecated in /in/Ghcci on line 8 Deprecated: Call-time pass-by-reference has been deprecated in /in/Ghcci on line 10 Fatal error: Call to undefined function h() in /in/Ghcci on line 10
Process exited with code 255.