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(date('Y-m-d H:i:s')) - 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.0060.00918.68
8.3.50.0060.00920.11
8.3.40.0140.00420.11
8.3.30.0110.00418.79
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0000.00726.16
8.2.180.0070.01425.92
8.2.170.0140.00719.08
8.2.160.0140.00022.96
8.2.150.0000.00825.66
8.2.140.0020.00524.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0030.00821.02
8.2.100.0090.00318.34
8.2.90.0060.00317.88
8.2.80.0030.00518.91
8.2.70.0030.00518.00
8.2.60.0080.00017.73
8.2.50.0050.00318.05
8.2.40.0000.00818.34
8.2.30.0040.00418.17
8.2.20.0000.00720.37
8.2.10.0060.00317.79
8.2.00.0000.00719.46
8.1.280.0070.00725.92
8.1.270.0080.00024.01
8.1.260.0060.00326.35
8.1.250.0030.00628.09
8.1.240.0070.00417.73
8.1.230.0110.00017.89
8.1.220.0040.00418.94
8.1.210.0080.00018.77
8.1.200.0050.00517.76
8.1.190.0040.00417.47
8.1.180.0000.00919.26
8.1.170.0040.00417.68
8.1.160.0040.00418.86
8.1.150.0040.00418.82
8.1.140.0040.00417.55
8.1.130.0000.00818.81
8.1.120.0050.00317.66
8.1.110.0040.00417.67
8.1.100.0070.00017.55
8.1.90.0020.00517.67
8.1.80.0060.00317.52
8.1.70.0030.00317.69
8.1.60.0040.00417.66
8.1.50.0040.00417.65
8.1.40.0050.00217.66
8.1.30.0030.00517.75
8.1.20.0210.00717.68
8.1.10.0290.00017.58
8.1.00.0170.00417.57
8.0.300.0000.00718.77
8.0.290.0000.00916.88
8.0.280.0030.00318.57
8.0.270.0040.00417.02
8.0.260.0030.00318.59
8.0.250.0040.00417.22
8.0.240.0060.00017.07
8.0.230.0030.00517.27
8.0.220.0040.00417.14
8.0.210.0000.00717.01
8.0.200.0040.00417.13
8.0.190.0070.00017.18
8.0.180.0040.00417.10
8.0.170.0000.01217.11
8.0.160.0050.00517.05
8.0.150.0000.00917.10
8.0.140.0170.00517.01
8.0.130.0200.00417.01
8.0.120.0160.00516.97
8.0.110.0220.00017.02
8.0.100.0180.00417.00
8.0.90.0170.00717.06
8.0.80.0190.00417.05
8.0.70.0240.00017.10
8.0.60.0210.00317.04
8.0.50.0110.01117.04
8.0.30.0180.00417.09
8.0.20.0210.00016.99
8.0.10.0120.01217.03
7.4.330.0000.00515.55
7.4.320.0050.00316.66
7.4.300.0000.00716.61
7.4.290.0040.00416.64
7.4.280.0040.00416.70
7.4.270.0120.00416.75
7.4.260.0180.00516.57
7.4.250.0130.00916.63
7.4.240.0180.00516.62
7.4.230.0130.00616.74
7.4.220.0120.00616.74
7.4.210.0090.00816.71
7.4.200.0100.01016.59
7.4.190.0230.00016.74
7.4.180.0060.00616.74
7.4.160.0150.00316.52
7.4.150.0190.00416.63
7.4.140.0200.00016.61
7.4.130.0100.00216.58
7.4.120.0120.00216.44
7.4.110.0130.00416.55
7.4.100.0180.00316.53
7.4.90.0200.00016.68
7.4.80.0170.00416.58
7.4.70.0150.00516.45
7.4.60.0200.00016.42
7.4.50.0180.00216.50
7.4.40.0130.00016.43
7.4.30.0110.00316.55
7.4.20.0170.00016.48
7.4.10.0080.00516.55
7.4.00.0120.00616.48

preferences:
68.98 ms | 400 KiB | 5 Q