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 round((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.0110.00318.56
8.3.50.0090.00619.96
8.3.40.0100.00720.09
8.3.30.0110.00418.97
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.180.0160.00625.92
8.2.170.0040.01118.95
8.2.160.0040.01122.96
8.2.150.0050.00225.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0050.00326.16
8.2.110.0030.00619.30
8.2.100.0100.00318.28
8.2.90.0030.00517.88
8.2.80.0040.00417.97
8.2.70.0060.00317.88
8.2.60.0040.00417.75
8.2.50.0000.00818.04
8.2.40.0060.00318.41
8.2.30.0040.00418.27
8.2.20.0040.00420.36
8.2.10.0050.00317.82
8.2.00.0040.00419.35
8.1.280.0070.00725.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0050.00322.23
8.1.230.0040.00719.08
8.1.220.0040.00417.78
8.1.210.0030.00518.77
8.1.200.0080.00017.60
8.1.190.0030.00617.47
8.1.180.0000.00818.10
8.1.170.0000.00917.63
8.1.160.0040.00418.86
8.1.150.0040.00418.87
8.1.140.0000.00717.55
8.1.130.0040.00418.98
8.1.120.0070.00017.60
8.1.110.0040.00417.57
8.1.100.0000.00717.62
8.1.90.0040.00417.68
8.1.80.0030.00717.68
8.1.70.0000.00717.56
8.1.60.0040.00417.62
8.1.50.0040.00417.59
8.1.40.0080.00017.53
8.1.30.0000.00917.75
8.1.20.0220.00417.65
8.1.10.0210.00317.52
8.1.00.0090.00917.73
8.0.300.0070.00018.77
8.0.290.0030.00616.88
8.0.280.0060.00318.50
8.0.270.0040.00417.14
8.0.260.0000.00718.43
8.0.250.0000.00717.20
8.0.240.0000.00717.21
8.0.230.0040.00417.21
8.0.220.0080.00017.14
8.0.210.0000.00717.17
8.0.200.0080.00017.05
8.0.190.0040.00417.09
8.0.180.0040.00416.99
8.0.170.0060.00317.11
8.0.160.0110.00017.11
8.0.150.0050.00417.04
8.0.140.0110.00916.86
8.0.130.0150.00617.00
8.0.120.0180.00217.05
8.0.110.0140.00817.04
8.0.100.0180.00316.98
8.0.90.0240.00017.07
8.0.80.0130.01017.08
8.0.70.0210.00317.04
8.0.60.0140.00716.96
8.0.50.0160.01017.04
8.0.30.0200.00317.05
8.0.20.0160.00817.01
8.0.10.0200.00317.18
7.4.330.0050.00015.55
7.4.320.0000.00816.65
7.4.300.0030.00516.62
7.4.290.0040.00416.66
7.4.280.0000.00716.63
7.4.270.0030.00616.77
7.4.260.0270.00016.58
7.4.250.0250.00416.64
7.4.240.0090.00616.68
7.4.230.0230.00316.57
7.4.220.0160.00016.64
7.4.210.0200.00316.62
7.4.200.0090.01316.61
7.4.190.0180.00516.65
7.4.180.0190.00316.57
7.4.160.0150.00616.63
7.4.150.0120.00616.54
7.4.140.0130.00816.57
7.4.130.0170.00416.44
7.4.120.0220.00016.56
7.4.110.0180.00416.60
7.4.100.0170.00416.71
7.4.90.0180.00416.48
7.4.80.0100.01016.43
7.4.70.0130.00816.58
7.4.60.0170.00616.56
7.4.50.0130.00616.61
7.4.40.0090.00416.43
7.4.30.0090.00616.50
7.4.20.0140.00516.64
7.4.10.0030.01016.61
7.4.00.0100.00716.57

preferences:
30.48 ms | 400 KiB | 5 Q