3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = date('2022-01-20 10:32'); $now = date('Y-m-d H:i:s'); echo floor((strtotime($now) - strtotime($start))/(60*60));

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.0090.00618.27
8.3.50.0090.00620.00
8.3.40.0080.00619.83
8.3.30.0070.00718.92
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.180.0150.00625.92
8.2.170.0100.01018.96
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0000.00826.16
8.2.110.0060.00319.05
8.2.100.0080.00418.03
8.2.90.0040.00417.75
8.2.80.0000.00819.22
8.2.70.0040.00417.75
8.2.60.0050.00317.63
8.2.50.0000.00818.05
8.2.40.0070.00018.34
8.2.30.0000.00718.12
8.2.20.0000.00720.49
8.2.10.0000.00717.93
8.2.00.0000.00819.42
8.1.280.0140.00025.92
8.1.270.0030.00524.04
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0140.00720.81
8.1.230.0060.00920.97
8.1.220.0000.00818.82
8.1.210.0000.00819.18
8.1.200.0060.00617.60
8.1.190.0070.00217.47
8.1.180.0100.00318.10
8.1.170.0040.00417.75
8.1.160.0050.00218.95
8.1.150.0030.00518.82
8.1.140.0040.00417.64
8.1.130.0040.00418.81
8.1.120.0000.00717.55
8.1.110.0000.00717.59
8.1.100.0040.00417.66
8.1.90.0000.00817.66
8.1.80.0000.00817.57
8.1.70.0070.00017.55
8.1.60.0040.00417.64
8.1.50.0040.00417.58
8.1.40.0040.00417.66
8.1.30.0000.01017.81
8.1.20.0240.00617.75
8.1.10.0270.00317.71
8.1.00.0170.00317.68
8.0.300.0000.00720.02
8.0.290.0040.00417.00
8.0.280.0000.00718.45
8.0.270.0070.00016.95
8.0.260.0000.00718.59
8.0.250.0030.00317.21
8.0.240.0070.00017.23
8.0.230.0030.00317.23
8.0.220.0040.00417.16
8.0.210.0000.00717.14
8.0.200.0000.00817.06
8.0.190.0040.00417.20
8.0.180.0040.00417.11
8.0.170.0030.00817.09
8.0.160.0040.00817.11
8.0.150.0000.00816.91
8.0.140.0190.00316.91
8.0.130.0190.00317.00
8.0.120.0200.00016.99
8.0.110.0140.00517.06
8.0.100.0120.00917.06
8.0.90.0190.00316.98
8.0.80.0190.00316.97
8.0.70.0140.00916.93
8.0.60.0200.00517.02
8.0.50.0230.00017.02
8.0.30.0190.00417.02
8.0.20.0150.00717.07
8.0.10.0180.00317.13
7.4.330.0000.00515.55
7.4.320.0000.00816.55
7.4.300.0040.00416.72
7.4.290.0040.00416.57
7.4.280.0000.00816.64
7.4.270.0040.00816.62
7.4.260.0210.00316.70
7.4.250.0170.00616.70
7.4.240.0180.00816.71
7.4.230.0160.00516.64
7.4.220.0150.00016.63
7.4.210.0090.00916.54
7.4.200.0140.00916.58
7.4.190.0190.00316.67
7.4.180.0080.00416.67
7.4.160.0140.00616.61
7.4.150.0040.01616.60
7.4.140.0190.00016.49
7.4.130.0080.00316.47
7.4.120.0070.00716.45
7.4.110.0150.00416.66
7.4.100.0130.01016.63
7.4.90.0120.00816.55
7.4.80.0160.00616.51
7.4.70.0230.00016.61
7.4.60.0170.00216.70
7.4.50.0100.01016.51
7.4.40.0100.00316.37
7.4.30.0070.00716.63
7.4.20.0150.00316.59
7.4.10.0040.01116.61
7.4.00.0130.00316.50

preferences:
42.11 ms | 400 KiB | 5 Q