3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class x {} $o = new x; $f = function(){ echo 'blee'; }; $g = $f; $f->__invoke(); $f(); $f->call($o);
based on ZDpLM
Output for 7.0.0 - 7.2.0
bleebleeblee
Output for 5.3.19 - 5.6.28
bleeblee Fatal error: Call to undefined method Closure::call() in /in/2J63O on line 8
Process exited with code 255.