3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f = function(){ echo 'blee'; }; $f->__invoke(); $f(); Closure::call($f);
based on HfnXs
Output for 7.0.0 - 7.2.0
bleeblee Fatal error: Uncaught Error: Non-static method Closure::call() cannot be called statically in /in/JWnLa:6 Stack trace: #0 {main} thrown in /in/JWnLa on line 6
Process exited with code 255.
Output for 5.3.19 - 5.6.28
bleeblee Fatal error: Call to undefined method Closure::call() in /in/JWnLa on line 6
Process exited with code 255.