3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2015-05-24 00:00:00'); $time = new \DateTime('0000-00-00 21:22:00'); $pickUpDateTime = new \DateTime(); $pickUpDateTime->setDate($date->format('Y'), $date->format('m'), $date->format('d')); $pickUpDateTime->setTime($time->format('H'), $time->format('i'), $time->format('s')); $now = new DateTime("now"); $interval = $now->diff( $pickUpDateTime );; echo ($interval->d);

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)
8.3.40.0110.00418.67
8.3.30.0120.00618.88
8.3.20.0040.00420.20
8.3.10.0040.00421.71
8.3.00.0050.00323.65
8.2.170.0100.01022.96
8.2.160.0040.00920.44
8.2.150.0070.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00421.04
8.2.120.0070.00026.35
8.2.110.0090.00020.89
8.2.100.0080.00418.05
8.2.90.0040.00419.41
8.2.80.0000.00917.97
8.2.70.0090.00017.63
8.2.60.0000.00818.03
8.2.50.0060.00318.09
8.2.40.0060.00322.18
8.2.30.0080.00019.46
8.2.20.0000.00817.95
8.2.10.0040.00418.11
8.2.00.0040.00418.11
8.1.270.0030.00622.20
8.1.260.0050.00328.09
8.1.250.0000.00728.09
8.1.240.0040.00422.54
8.1.230.0040.00817.89
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.48
8.1.190.0030.00517.36
8.1.180.0000.00818.10
8.1.170.0050.00318.68
8.1.160.0000.00720.69
8.1.150.0030.00618.90
8.1.140.0090.00019.59
8.1.130.0000.00717.71
8.1.120.0030.00317.60
8.1.110.0070.00317.55
8.1.100.0080.00017.45
8.1.90.0020.00517.50
8.1.80.0030.00317.49
8.1.70.0040.00417.65
8.1.60.0030.00617.64
8.1.50.0040.00417.52
8.1.40.0000.01117.57
8.1.30.0000.00817.74
8.1.20.0000.00717.64
8.1.10.0000.00717.66
8.1.00.0040.00417.65
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.52
8.0.270.0030.00317.34
8.0.260.0060.00317.25
8.0.250.0000.00717.07
8.0.240.0030.00517.11
8.0.230.0000.00717.07
8.0.220.0030.00517.07
8.0.210.0040.00416.99
8.0.200.0030.00317.11
8.0.190.0040.00417.03
8.0.180.0040.00417.06
8.0.170.0000.00817.09
8.0.160.0040.00317.01
8.0.150.0030.00317.02
8.0.140.0030.00316.84
8.0.130.0000.00613.34
8.0.120.0040.00417.09
8.0.110.0000.00817.02
8.0.100.0000.00716.86
8.0.90.0040.00417.02
8.0.80.0160.00617.06
8.0.70.0000.00816.87
8.0.60.0040.00417.08
8.0.50.0040.00417.05
8.0.30.0080.00817.15
8.0.20.0060.01117.40
8.0.10.0000.00717.03
8.0.00.0090.01216.87
7.4.330.0050.00016.82
7.4.320.0070.00016.64
7.4.300.0090.00016.68
7.4.290.0050.00316.63
7.4.280.0040.00416.52
7.4.270.0030.00316.67
7.4.260.0040.00416.53
7.4.250.0040.00416.45
7.4.240.0000.00716.62
7.4.230.0000.00716.71
7.4.220.0060.01216.71
7.4.210.0070.00716.71
7.4.200.0040.00416.59
7.4.160.0160.00316.51
7.4.150.0080.01017.40
7.4.140.0080.00817.86
7.4.130.0120.00916.72
7.4.120.0070.01016.52
7.4.110.0040.01416.56
7.4.100.0030.01316.51
7.4.90.0090.00916.63
7.4.80.0090.01519.39
7.4.70.0070.01116.73
7.4.60.0090.00816.65
7.4.50.0070.01016.43
7.4.40.0090.00916.73
7.4.30.0120.00916.74
7.4.00.0030.00715.26
7.3.330.0060.00013.09
7.3.320.0000.00513.21
7.3.310.0030.00316.25
7.3.300.0060.00016.26
7.3.290.0090.01116.29
7.3.280.0100.00816.29
7.3.270.0100.01017.40
7.3.260.0120.00616.67
7.3.250.0100.01016.61
7.3.240.0130.00516.35
7.3.230.0100.01316.39
7.3.210.0100.00716.41
7.3.200.0060.01319.39
7.3.190.0030.01216.54
7.3.180.0090.00916.29
7.3.170.0130.01016.49
7.3.160.0070.00716.44
7.2.330.0100.01016.49
7.2.320.0120.00616.59
7.2.310.0100.00716.64
7.2.300.0090.00916.82
7.2.290.0080.00816.55
7.2.60.0190.00616.98
7.2.00.0030.00719.38
7.1.200.0110.00315.45
7.1.100.0000.01118.23
7.1.70.0000.00817.39
7.1.60.0070.01819.28
7.1.50.0090.01217.08
7.1.00.0000.08022.30
7.0.200.0070.00316.66
7.0.60.0200.04721.70
7.0.50.0070.04017.84
7.0.40.0100.08320.05
7.0.30.0200.04720.13
7.0.20.0200.06720.30
7.0.10.0030.06320.20
7.0.00.0200.07320.08
5.6.280.0030.03721.12
5.6.210.0030.09020.54
5.6.200.0070.07318.09
5.6.190.0070.05320.42
5.6.180.0170.04720.67
5.6.170.0370.08320.38
5.6.160.0100.05720.71
5.6.150.0130.08018.22
5.6.140.0100.04718.09
5.6.130.0070.07018.14
5.6.120.0070.08720.99
5.6.110.0100.09021.13
5.6.100.0200.05720.97
5.6.90.0030.08021.00
5.6.80.0130.03320.49
5.5.350.3500.04320.38
5.5.340.0070.04317.91
5.5.330.0030.06020.25
5.5.320.0630.07320.27
5.5.310.0230.04020.27
5.5.300.0070.08317.98
5.5.290.0000.08317.98
5.5.280.0100.08320.62
5.5.270.0070.08320.96
5.5.260.0000.08320.86
5.5.250.0070.05720.77
5.5.240.0100.08020.26

preferences:
53.05 ms | 400 KiB | 5 Q