3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = call_user_method_array(array('DateTime', '__construct'), array('2014-05-06')); echo $x->format('d.m.Y');
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function call_user_method_array() in /in/pJmhA:3 Stack trace: #0 {main} thrown in /in/pJmhA on line 3
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Only variables can be passed by reference in /in/pJmhA on line 3
Process exited with code 255.