3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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); ?>
based on GtXDk
Output for 5.6.0 - 7.2.0
1