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 = date_diff($now, $pickUpDateTime); if ( $v = $interval->h >= 1 ) echo ($interval->d)*24;

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.60.0070.01116.63
8.3.50.0160.00621.26
8.3.40.0180.00018.92
8.3.30.0100.01018.96
8.3.20.0050.00220.22
8.3.10.0040.00421.91
8.3.00.0000.00923.66
8.2.180.0070.00716.50
8.2.170.0120.00322.96
8.2.160.0000.01420.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00021.00
8.2.120.0070.00026.35
8.2.110.0070.00321.05
8.2.100.0090.00317.93
8.2.90.0000.00819.21
8.2.80.0050.00317.97
8.2.70.0050.00517.63
8.2.60.0060.00318.05
8.2.50.0040.00418.09
8.2.40.0060.00322.15
8.2.30.0040.00419.57
8.2.20.0030.00617.91
8.2.10.0000.00718.08
8.2.00.0000.00718.23
8.1.280.0170.00725.92
8.1.270.0060.00322.05
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0030.00622.55
8.1.230.0090.00317.83
8.1.220.0030.00617.76
8.1.210.0000.00918.77
8.1.200.0030.00617.47
8.1.190.0040.00417.36
8.1.180.0040.00418.10
8.1.170.0000.00818.76
8.1.160.0000.00720.83
8.1.150.0000.00718.87
8.1.140.0060.00319.64
8.1.130.0000.00817.74
8.1.120.0040.00417.70
8.1.110.0030.00617.61
8.1.100.0040.00417.59
8.1.90.0040.00417.65
8.1.80.0050.00317.69
8.1.70.0000.00717.66
8.1.60.0040.00417.77
8.1.50.0000.00817.67
8.1.40.0000.01017.55
8.1.30.0040.00417.78
8.1.20.0080.00017.72
8.1.10.0070.00017.75
8.1.00.0030.00617.59
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0030.00318.51
8.0.270.0040.00417.35
8.0.260.0030.00317.23
8.0.250.0030.00317.06
8.0.240.0070.00017.17
8.0.230.0030.00317.07
8.0.220.0000.00717.05
8.0.210.0050.00317.11
8.0.200.0030.00317.19
8.0.190.0030.00617.13
8.0.180.0070.00017.12
8.0.170.0070.00017.08
8.0.160.0000.00717.14
8.0.150.0070.00016.93
8.0.140.0000.00717.09
8.0.130.0000.00613.46
8.0.120.0080.00017.06
8.0.110.0040.00417.09
8.0.100.0070.00017.10
8.0.90.0000.00717.06
8.0.80.0110.00317.08
8.0.70.0040.00416.88
8.0.60.0000.00716.95
8.0.50.0040.00417.16
8.0.30.0100.00917.19
8.0.20.0080.01017.43
8.0.10.0040.00417.20
8.0.00.0110.01216.95
7.4.330.0000.00616.82
7.4.320.0000.00616.79
7.4.300.0030.00316.73
7.4.290.0000.00816.69
7.4.280.0040.00416.71
7.4.270.0030.00316.60
7.4.260.0070.00016.65
7.4.250.0000.00716.69
7.4.240.0050.00316.64
7.4.230.0070.00016.84
7.4.220.0070.01116.59
7.4.210.0120.00316.82
7.4.200.0000.00716.44
7.4.160.0120.00316.75
7.4.150.0070.01117.40
7.4.140.0150.00917.86
7.4.130.0090.01016.76
7.4.120.0110.00616.65
7.4.110.0090.00916.79
7.4.100.0070.01016.72
7.4.90.0030.01416.64
7.4.80.0110.01119.39
7.4.70.0090.00916.61
7.4.60.0040.01216.81
7.4.50.0070.00716.62
7.4.40.0130.00316.62
7.4.30.0060.01216.65
7.4.00.0030.01315.22
7.3.330.0030.00313.24
7.3.320.0000.00613.09
7.3.310.0030.00316.15
7.3.300.0070.00016.13
7.3.290.0060.00916.34
7.3.280.0020.01316.34
7.3.270.0140.00317.40
7.3.260.0160.00416.54
7.3.250.0110.00916.41
7.3.240.0070.01316.47
7.3.230.0060.01016.52
7.3.210.0110.01416.68
7.3.200.0130.01019.39
7.3.190.0160.00816.64
7.3.180.0060.01216.61
7.3.170.0000.01816.46
7.3.160.0030.01316.52
7.3.120.0120.00614.77
7.3.110.0070.01114.83
7.3.100.0090.00914.92
7.3.90.0030.01714.74
7.3.80.0040.01114.83
7.3.70.0030.01015.01
7.3.60.0090.00614.98
7.3.50.0100.00715.00
7.3.40.0060.01215.00
7.3.30.0090.00614.86
7.3.20.0040.01116.47
7.3.10.0090.00616.56
7.3.00.0070.01116.67
7.2.330.0180.00916.77
7.2.320.0060.01316.94
7.2.310.0120.00416.59
7.2.300.0060.01116.70
7.2.290.0090.00616.64
7.2.250.0120.00815.36
7.2.240.0100.01015.14
7.2.230.0070.01114.95
7.2.220.0030.00715.05
7.2.210.0100.00615.24
7.2.200.0110.00315.08
7.2.190.0070.01114.94
7.2.180.0080.01115.32
7.2.170.0090.00615.25
7.2.130.0100.00616.38
7.2.120.0070.01316.68
7.2.110.0150.00916.69
7.2.100.0130.00616.93
7.2.90.0180.01417.05
7.2.80.0090.01217.03
7.2.70.0150.00416.42
7.2.60.0050.01317.00
7.2.50.0100.01017.01
7.2.40.0160.00816.63
7.2.30.0100.01416.88
7.2.20.0150.00417.01
7.2.10.0140.01416.98
7.2.00.0070.01118.16
7.1.330.0070.00716.02
7.1.320.0000.01416.02
7.1.310.0040.01115.52
7.1.300.0100.00915.83
7.1.290.0060.01315.92
7.1.280.0030.00915.84
7.1.270.0130.00315.73
7.1.260.0040.01115.86
7.1.250.0090.00915.45
7.1.200.0060.00615.59
7.1.70.0050.00317.46
7.1.60.0000.01317.40
7.1.50.0170.00717.08
7.1.00.0100.07022.28
7.0.200.0040.00417.13
7.0.60.0000.06721.74
7.0.50.0070.03717.84
7.0.40.0070.09020.08
7.0.30.0300.03720.00
7.0.20.0270.08020.30
7.0.10.0070.06720.14
7.0.00.0200.04320.08
5.6.280.0030.06321.02
5.6.210.0030.06720.67
5.6.200.0070.06718.12
5.6.190.0030.08720.27
5.6.180.0270.08020.43
5.6.170.0430.06020.50
5.6.160.0070.08720.68
5.6.150.0030.08318.12
5.6.140.0100.04018.21
5.6.130.0070.05018.11
5.6.120.0100.08321.02
5.6.110.0100.07020.88
5.6.100.0100.07720.95
5.6.90.0200.07021.01
5.6.80.0030.04320.36
5.5.350.3370.03720.34
5.5.340.0000.04017.92
5.5.330.0070.04720.46
5.5.320.0670.07020.24
5.5.310.0230.06020.30
5.5.300.0100.04018.02
5.5.290.0100.08317.87
5.5.280.0030.05720.73
5.5.270.0030.08720.86
5.5.260.0030.06020.72
5.5.250.0100.04720.58
5.5.240.0200.05720.18

preferences:
34.41 ms | 401 KiB | 5 Q