3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1 = strtotime(00:08:27); $d2 = strtotime(00:01:32); echo date('H:i:s',$d1 + $d2); //$date1 = new DateTime('00:08:27'); //$date2 = new DateTime('00:01:32'); //$diff = $date2->diff($date1); //print_r( $diff )

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.2.20.0440.01717.66
7.2.10.0410.00717.62
7.2.00.0310.00717.54
7.1.140.0470.00316.50
7.1.130.0400.01116.53
7.1.120.0360.01116.65
7.1.110.0290.01315.98
7.1.100.0290.01016.04
7.1.90.0420.00316.14
7.1.80.0680.01016.09
7.1.70.0470.00915.23
7.1.60.0500.01433.08
7.1.50.0610.01632.89
7.1.40.0480.01032.48
7.1.30.0720.01432.42
7.1.20.0590.01332.56
7.1.10.0440.01314.52
7.1.00.0380.00314.51

preferences:
143.87 ms | 1394 KiB | 7 Q