3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php datetime::createfromimmutable();
Output for 7.3.0alpha1 - 7.3.0rc3
Warning: DateTime::createFromImmutable() expects exactly 1 parameter, 0 given in /in/HdELC on line 3
Output for 7.0.28 - 7.2.11
Fatal error: Uncaught Error: Call to undefined method DateTime::createfromimmutable() in /in/HdELC:3 Stack trace: #0 {main} thrown in /in/HdELC on line 3
Process exited with code 255.
Output for 5.6.38
Fatal error: Call to undefined method DateTime::createfromimmutable() in /in/HdELC on line 3
Process exited with code 255.