3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time1 = strtotime('today'); $time2 = strtotime('today UTC'); $jsTimeShift = ($time1 - $time2) * 1000; echo $jsTimeShift;

preferences:
42.88 ms | 402 KiB | 5 Q