3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = array( 0 => "F", 1 => "E", 60 => "B", 20 => "C", 14 => "D", 100 => "A" ); asort($list); print 'sorted: '.var_export($list, true);

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.4.140.0150.00617.27
8.4.130.0040.00617.68
8.4.120.0120.00720.63
8.4.110.0150.00518.71
8.4.100.0140.00617.47
8.4.90.0060.00520.51
8.4.80.0070.00218.95
8.4.70.0040.00420.42
8.4.60.0110.00918.78
8.4.50.0050.00420.40
8.4.40.0130.00319.66
8.4.30.0080.01120.72
8.4.20.0100.01018.06
8.4.10.0030.00622.27
8.3.270.0110.01316.64
8.3.260.0120.00716.46
8.3.250.0040.00618.74
8.3.240.0050.00616.48
8.3.230.0060.00616.60
8.3.220.0110.00418.95
8.3.210.0070.00216.58
8.3.200.0050.00416.51
8.3.190.0050.00417.04
8.3.180.0050.00318.74
8.3.170.0090.00916.53
8.3.160.0100.00717.08
8.3.150.0070.01117.14
8.3.140.0120.00318.90
8.3.130.0040.00418.46
8.3.120.0120.00318.80
8.3.110.0060.00916.63
8.3.100.0030.00516.32
8.3.90.0120.00626.77
8.3.80.0040.00716.48
8.3.70.0090.00616.58
8.3.60.0060.00918.31
8.3.50.0100.01019.98
8.3.40.0140.00720.32
8.3.30.0040.01218.73
8.3.20.0000.00724.18
8.3.10.0030.00624.66
8.3.00.0070.01026.16
8.2.290.0110.00818.79
8.2.280.0110.00918.17
8.2.270.0060.01218.24
8.2.260.0140.00416.65
8.2.250.0040.00416.47
8.2.240.0080.00818.46
8.2.230.0000.00920.94
8.2.220.0090.00024.06
8.2.210.0000.00826.77
8.2.200.0000.00916.38
8.2.190.0120.00316.58
8.2.180.0190.00325.92
8.2.170.0090.00618.96
8.2.160.0100.01022.96
8.2.150.0110.00725.66
8.2.140.0120.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00426.16
8.2.110.0000.00922.04
8.2.100.0090.00317.90
8.2.90.0050.00319.09
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0080.00017.80
8.2.50.0070.00718.07
8.2.40.0040.00418.34
8.2.30.0040.00417.93
8.2.20.0040.00419.16
8.2.10.0000.00717.86
8.2.00.0000.00819.08
8.1.330.0100.00916.07
8.1.320.0110.00817.85
8.1.310.0050.00316.59
8.1.300.0100.00016.34
8.1.290.0090.00030.84
8.1.280.0090.00925.92
8.1.270.0100.01024.66
8.1.260.0030.00626.35
8.1.250.0100.00628.09
8.1.240.0030.00621.31
8.1.230.0060.00617.45
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0030.00617.36
8.1.190.0020.00517.23
8.1.180.0050.00318.10
8.1.170.0040.00418.48
8.1.160.0000.00818.73
8.1.150.0040.00418.56
8.1.140.0070.00017.42
8.1.130.0070.00019.00
8.1.120.0040.00417.40
8.1.110.0080.00017.27
8.1.100.0050.01017.23
8.1.90.0100.00717.34
8.1.80.0090.00617.32
8.1.70.0130.00317.29
8.1.60.0150.00417.28
8.1.50.0090.00917.27
8.1.40.0120.00317.36
8.1.30.0130.00517.29
8.1.20.0140.00317.50
8.1.10.0190.00017.33
8.1.00.0170.00017.27
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0070.00018.48
8.0.270.0030.00316.86
8.0.260.0000.00618.41
8.0.250.0000.00716.92
8.0.240.0070.00016.90
8.0.230.0150.00016.76
8.0.220.0130.00216.72
8.0.210.0100.00316.78
8.0.200.0110.00316.86
8.0.190.0120.00316.86
8.0.180.0070.00716.82
8.0.170.0080.00416.80
8.0.160.0090.00416.77
8.0.150.0140.00216.71
8.0.140.0050.01116.72
8.0.130.0120.00316.63
8.0.120.0090.00616.84
8.0.110.0070.00716.58
8.0.100.0090.00616.54
8.0.90.0140.00216.55
8.0.80.0100.00516.66
8.0.70.0070.00716.66
8.0.60.0150.00016.77
8.0.50.0040.01116.75
8.0.30.0150.00016.71
8.0.20.0070.00716.73
8.0.10.0130.00216.71
7.4.330.0040.00015.55
7.4.320.0000.00616.57
7.4.300.0130.00416.41
7.4.290.0140.00016.38
7.4.280.0060.00816.41
7.4.270.0110.00316.32
7.4.260.0070.00716.33
7.4.250.0130.00316.31
7.4.240.0140.00516.51
7.4.230.0160.00016.34
7.4.220.0070.00716.31
7.4.210.0130.00016.47
7.4.200.0100.00316.35
7.4.190.0090.00316.39
7.4.180.0130.00016.44
7.4.160.0100.00416.36
7.4.150.0090.00616.41
7.4.140.0120.00316.37
7.4.130.0120.00316.31
7.4.120.0110.00416.32
7.4.110.0110.00316.31
7.4.100.0090.00616.36
7.4.90.0070.00716.37
7.4.80.0150.00016.22
7.4.70.0080.00616.21
7.4.60.0120.00316.37
7.4.50.0100.00216.22
7.4.40.0100.00016.27
7.4.30.0040.00816.27
7.4.20.0120.00016.32
7.4.10.0050.00916.33
7.4.00.0090.00416.38

preferences:
31.32 ms | 403 KiB | 5 Q