3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date1=date_create("15-04-2018 22:00", new DateTimeZone('Asia/Ulan_Bator')); $date2=date_create("now", new DateTimeZone('America/Buenos_Aires')); $diff=date_diff($date1,$date2); print_r($diff->days == 457); ?>
Output for git.master, git.master_jit, rfc.property-hooks
1

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:
61.42 ms | 401 KiB | 8 Q