3v4l.org

run code in 300+ PHP versions simultaneously
<?php //************** 2017 ************** //SasanicA, Inc. //********************************** $format = 'Y-m-d H:i:s'; $date = date_create_from_format($format, '2018-06-01 18:06:47'); //echo date_format($date, $format); $date_now = datetime($format); if($date_now < $date){ echo ' --- YESSS --- '; echo $date_now; }else{ echo ' --- NO'; } //end ?>
Output for git.master_jit, git.master, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function datetime() in /in/4RPR3:13 Stack trace: #0 {main} thrown in /in/4RPR3 on line 13
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
60.76 ms | 401 KiB | 8 Q