3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('GMT'); $now = strtotime("now"); echo "\nnow is $now"; $purchasedDate = strtotime($now); echo "\npurchasedDate is $purchasedDate";

preferences:
37.76 ms | 402 KiB | 5 Q