3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('2019-04-05 12:34:56.123456'); $date1 = unserialize(serialize($date)); $date2 = new DateTime($date->format('Y-m-d H:i:s.u')); //print_r("start php version ".phpversion()); //print_r("\n"); //print_r("\n"); print_r("date==date1:"); print_r($date==$date1); print_r("\n"); print_r("date==date2:"); print_r($date==$date2); print_r("\n"); print_r("date1==date2:"); print_r($date1==$date2); print_r("\n"); print_r("finish");
Output for git.master, git.master_jit, rfc.property-hooks
date==date1:1 date==date2:1 date1==date2:1 finish

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:
131.28 ms | 405 KiB | 5 Q