3v4l.org

run code in 500+ PHP versions simultaneously
<?php $tests = ['test1', 'test2', 'test3', 'test4', 'test5']; var_export( array_chunk($tests, 1) );

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.5.70.0090.00816.43
8.5.60.0110.00716.78
8.5.50.0110.00616.47
8.5.30.0120.00519.14
8.5.20.0090.00819.34
8.5.10.0040.00320.16
8.5.00.0090.01219.92
8.4.180.0120.00922.18
8.4.170.0120.00920.39
8.4.160.0100.01222.16
8.4.150.0080.00416.84
8.4.140.0120.00917.74
8.4.130.0060.00417.81
8.4.120.0080.00320.31
8.4.110.0090.01118.82
8.4.100.0140.00717.67
8.4.90.0150.00518.52
8.4.80.0100.01119.22
8.4.70.0060.00317.85
8.4.60.0060.00618.30
8.4.50.0110.00819.57
8.4.40.0060.01320.36
8.4.30.0060.01318.68
8.4.20.0160.00325.86
8.4.10.0040.01423.70
8.3.300.0180.00420.90
8.3.290.0140.00820.86
8.3.280.0110.00918.38
8.3.270.0160.00316.30
8.3.260.0100.00916.88
8.3.250.0130.00618.76
8.3.240.0120.00816.52
8.3.230.0080.01016.57
8.3.220.0130.00516.92
8.3.210.0090.00816.52
8.3.200.0040.00516.58
8.3.190.0040.00517.09
8.3.180.0120.00616.47
8.3.170.0110.00718.88
8.3.160.0160.00320.53
8.3.150.0140.00416.59
8.3.140.0080.00017.03
8.3.130.0050.00318.46
8.3.120.0030.00618.91
8.3.110.0030.00620.94
8.3.100.0040.00424.06
8.3.90.0040.00426.77
8.3.80.0060.00317.97
8.3.70.0110.00316.25
8.3.60.0090.00916.37
8.3.50.0120.00318.27
8.3.40.0120.00320.29
8.3.30.0070.00718.54
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.300.0120.01021.94
8.2.290.0120.00720.26
8.2.280.0090.00718.14
8.2.270.0120.00617.38
8.2.260.0070.01116.30
8.2.250.0140.00416.77
8.2.240.0000.00820.54
8.2.230.0030.00622.58
8.2.220.0090.00937.54
8.2.210.0110.00726.77
8.2.200.0060.00316.36
8.2.190.0070.00716.64
8.2.180.0180.00416.38
8.2.170.0130.00618.91
8.2.160.0140.00022.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0080.00026.16
8.2.110.0060.00320.38
8.2.100.0060.00617.78
8.2.90.0040.00417.75
8.2.80.0000.00818.74
8.2.70.0080.00017.38
8.2.60.0060.00317.50
8.2.50.0080.00017.55
8.2.40.0000.00819.35
8.2.30.0070.00017.60
8.2.20.0040.00419.05
8.2.10.0000.00817.99
8.2.00.0180.00017.61
8.1.340.0160.00517.65
8.1.330.0090.00820.23
8.1.320.0110.00815.80
8.1.310.0040.00418.55
8.1.300.0110.00417.91
8.1.290.0090.00330.84
8.1.280.0100.00725.92
8.1.270.0060.00322.04
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0080.00321.84
8.1.230.0040.00720.86
8.1.220.0060.00318.52
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0070.00017.39
8.1.180.0040.00418.10
8.1.170.0000.00717.62
8.1.160.0050.00218.84
8.1.150.0070.00018.57
8.1.140.0070.00017.34
8.1.130.0110.00517.30
8.1.120.0130.00417.32
8.1.110.0060.01217.49
8.1.100.0080.00817.48
8.1.90.0170.00017.36
8.1.80.0070.01017.44
8.1.70.0130.00517.35
8.1.60.0100.01017.48
8.1.50.0100.01017.35
8.1.40.0120.00617.47
8.1.30.0200.00017.47
8.1.20.0080.01117.54
8.1.10.0160.00317.41
8.1.00.0180.00017.40
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0040.00418.00
8.0.270.0000.00917.84
8.0.260.0150.00416.75
8.0.250.0200.00016.80
8.0.240.0170.00016.86
8.0.230.0150.00316.80
8.0.220.0120.00416.67
8.0.210.0100.00516.62
8.0.200.0130.00316.81
8.0.190.0130.00416.71
8.0.180.0160.00016.79
8.0.170.0140.00316.68
8.0.160.0140.00416.71
8.0.150.0130.00316.72
8.0.140.0110.00416.79
8.0.130.0120.00316.71
8.0.120.0050.01116.80
8.0.110.0080.00816.82
8.0.100.0130.00316.73
8.0.90.0110.00416.69
8.0.80.0130.00316.70
8.0.70.0110.00416.79
8.0.60.0040.01116.61
8.0.50.0120.00416.63
8.0.30.0130.00316.79
8.0.20.0130.00316.86
8.0.10.0140.00316.80

preferences:
56.1 ms | 1142 KiB | 5 Q