3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new DateTime("2017-11-17 22:05:26.000000"); $b = new DateTime("2017-04-03 22:29:15.079459"); $diff = $a->diff($b); var_dump($diff->h);

Abusive script

This script was stopped while abusing our resources


preferences:
25.44 ms | 404 KiB | 5 Q