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.70.0150.00718.55
8.3.60.0180.00418.56
8.3.50.0150.00321.22
8.3.40.0070.00718.84
8.3.30.0070.01118.76
8.3.20.0040.00420.39
8.3.10.0000.00823.52
8.3.00.0030.00723.66
8.2.180.0100.00716.63
8.2.170.0140.00322.96
8.2.160.0060.00920.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00421.18
8.2.120.0000.00826.35
8.2.110.0030.00621.11
8.2.100.0090.00317.93
8.2.90.0000.00819.22
8.2.80.0030.00517.97
8.2.70.0030.00617.75
8.2.60.0050.00317.93
8.2.50.0050.00318.09
8.2.40.0030.00622.25
8.2.30.0030.00519.38
8.2.20.0040.00417.79
8.2.10.0000.00818.01
8.2.00.0040.00418.13
8.1.280.0100.01025.92
8.1.270.0040.00422.02
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0060.00322.59
8.1.230.0040.00717.64
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00717.48
8.1.190.0040.00417.36
8.1.180.0000.00818.10
8.1.170.0030.00518.52
8.1.160.0040.00420.84
8.1.150.0000.00718.96
8.1.140.0000.00819.48
8.1.130.0030.00617.77
8.1.120.0070.00017.59
8.1.110.0090.00017.71
8.1.100.0040.00417.67
8.1.90.0050.00217.54
8.1.80.0050.00317.61
8.1.70.0020.00517.58
8.1.60.0030.00517.60
8.1.50.0000.00817.67
8.1.40.0030.00617.56
8.1.30.0060.00317.70
8.1.20.0040.00417.66
8.1.10.0000.00817.70
8.1.00.0040.00417.70
8.0.300.0040.00418.77
8.0.290.0040.00416.87
8.0.280.0070.00018.44
8.0.270.0080.00017.41
8.0.260.0040.00417.37
8.0.250.0040.00417.18
8.0.240.0000.00717.02
8.0.230.0050.00217.18
8.0.220.0040.00416.98
8.0.210.0000.00717.09
8.0.200.0030.00317.17
8.0.190.0030.00617.07
8.0.180.0050.00217.11
8.0.170.0000.00717.01
8.0.160.0040.00416.99
8.0.150.0040.00416.93
8.0.140.0040.00416.95
8.0.130.0030.00313.36
8.0.120.0040.00417.09
8.0.110.0030.00517.10
8.0.100.0040.00416.91
8.0.90.0030.00517.06
8.0.80.0000.01417.15
8.0.70.0080.00016.92
8.0.60.0000.00717.14
8.0.50.0040.00417.03
8.0.30.0090.00917.35
8.0.20.0120.00617.49
8.0.10.0000.00817.09
8.0.00.0120.00917.11
7.4.330.0020.00216.79
7.4.320.0030.00316.75
7.4.300.0000.00816.75
7.4.290.0030.00316.64
7.4.280.0000.00716.65
7.4.270.0070.00016.73
7.4.260.0000.00716.62
7.4.250.0000.00716.62
7.4.240.0030.00316.63
7.4.230.0040.00416.62
7.4.220.0140.01016.81
7.4.210.0070.00716.83
7.4.200.0030.00316.48
7.4.160.0100.00716.69
7.4.150.0140.00317.40
7.4.140.0140.00617.86
7.4.130.0090.00916.56
7.4.120.0070.01016.69
7.4.110.0140.00316.78
7.4.100.0100.00716.70
7.4.90.0110.00716.61
7.4.80.0090.00919.39
7.4.70.0100.00716.74
7.4.60.0080.00816.75
7.4.50.0060.00916.81
7.4.40.0130.00416.78
7.4.30.0090.01216.92
7.4.00.0100.00615.32
7.3.330.0030.00313.24
7.3.320.0050.00013.24
7.3.310.0040.00416.28
7.3.300.0000.00716.37
7.3.290.0060.01016.33
7.3.280.0110.00816.34
7.3.270.0070.01117.40
7.3.260.0100.01016.71
7.3.250.0070.01216.43
7.3.240.0080.01216.66
7.3.230.0180.00016.59
7.3.210.0140.00316.55
7.3.200.0060.01219.39
7.3.190.0130.00516.64
7.3.180.0040.01316.53
7.3.170.0110.00716.54
7.3.160.0060.00916.43
7.3.10.0200.00416.24
7.3.00.0150.01116.58
7.2.330.0110.00816.87
7.2.320.0100.01016.82
7.2.310.0090.00616.66
7.2.300.0070.01016.68
7.2.290.0130.00416.84
7.2.130.0090.00916.70
7.2.120.0130.00716.85
7.2.110.0160.00916.79
7.2.100.0060.01116.79
7.2.90.0140.00316.67
7.2.80.0090.00616.97
7.2.70.0220.00316.48
7.2.60.0060.00616.83
7.2.50.0100.01616.79
7.2.40.0120.00616.64
7.2.30.0170.00316.82
7.2.20.0080.00816.85
7.2.10.0070.01116.50
7.2.00.0070.00617.89
7.1.250.0210.00415.77
7.1.200.0030.00515.90
7.1.100.0110.00418.34
7.1.70.0080.00317.47
7.1.60.0100.01619.28
7.1.50.0030.00916.81
7.1.00.0000.08022.40
7.0.200.0030.00516.83
7.0.60.0000.04321.66
7.0.50.0170.07017.91
7.0.40.0000.06020.04
7.0.30.0230.05020.02
7.0.20.0300.08020.09
7.0.10.0070.04320.33
7.0.00.0100.05320.25
5.6.280.0030.03320.81
5.6.210.0130.08720.76
5.6.200.0030.06018.20
5.6.190.0030.06320.66
5.6.180.0330.06720.32
5.6.170.0430.04320.48
5.6.160.0100.07320.44
5.6.150.0130.08018.12
5.6.140.0070.07018.09
5.6.130.0170.06018.12
5.6.120.0070.04320.99
5.6.110.0200.07721.11
5.6.100.0030.07321.12
5.6.90.0100.06321.09
5.6.80.0030.08320.40
5.5.350.3170.03020.38
5.5.340.0030.04017.99
5.5.330.0030.08320.07
5.5.320.0630.07020.41
5.5.310.0230.05320.20
5.5.300.0100.07718.01
5.5.290.0070.08017.98
5.5.280.0100.08320.80
5.5.270.0030.07320.72
5.5.260.0070.08320.89
5.5.250.0130.07720.70
5.5.240.0070.07020.15

preferences:
58.96 ms | 401 KiB | 5 Q