3v4l.org

run code in 300+ PHP versions simultaneously
<?php // $input = [1,2,3,4,5]; // Code that transforms array // $output = [1,3,5]; // var_dump($output);

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.0070.01316.63
8.3.50.0100.00316.35
8.3.40.0110.00318.42
8.3.30.0040.01118.59
8.3.20.0000.00720.13
8.3.10.0070.00023.48
8.3.00.0080.00023.65
8.2.180.0150.00617.88
8.2.170.0040.01122.96
8.2.160.0070.00720.52
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00722.24
8.2.120.0000.00826.35
8.2.110.0090.00020.99
8.2.100.0120.00017.72
8.2.90.0090.00019.15
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0060.00317.90
8.2.50.0000.00818.10
8.2.40.0040.00420.59
8.2.30.0030.00520.89
8.2.20.0020.00517.91
8.2.10.0000.00817.79
8.2.00.0070.00017.96
8.1.280.0120.00325.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0040.00419.30
8.1.230.0000.01117.64
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.11
8.1.190.0040.00417.11
8.1.180.0050.00318.10
8.1.170.0040.00418.49
8.1.160.0000.00718.75
8.1.150.0070.00020.60
8.1.140.0040.00417.43
8.1.130.0030.00317.23
8.1.120.0000.00717.24
8.1.110.0030.00617.34
8.1.100.0030.00517.35
8.1.90.0000.00717.21
8.1.80.0030.00617.38
8.1.70.0030.00317.30
8.1.60.0040.00417.43
8.1.50.0000.00817.37
8.1.40.0000.00817.26
8.1.30.0030.00517.48
8.1.20.0000.01017.53
8.1.10.0040.00417.30
8.1.00.0000.00817.34
8.0.300.0060.00318.77
8.0.290.0000.00816.58
8.0.280.0000.00818.22
8.0.270.0000.00717.06
8.0.260.0070.00018.53
8.0.250.0070.00016.75
8.0.240.0030.00316.78
8.0.230.0030.00316.82
8.0.220.0070.00016.75
8.0.210.0000.00716.64
8.0.200.0060.00016.78
8.0.190.0030.00316.83
8.0.180.0070.00016.77
8.0.170.0070.00016.77
8.0.160.0070.00016.63
8.0.150.0000.00716.70
8.0.140.0000.00816.75
8.0.130.0030.00513.20
8.0.120.0040.00416.70
8.0.110.0000.00816.66
8.0.100.0000.00716.71
8.0.90.0040.00416.70
8.0.80.0070.01116.78
8.0.70.0030.00316.73
8.0.60.0070.00016.60
8.0.50.0070.00016.80
8.0.30.0100.01016.85
8.0.20.0150.00417.40
8.0.10.0040.00416.89
8.0.00.0110.00616.54
7.4.330.0050.00016.55
7.4.320.0060.00016.39
7.4.300.0060.00016.35
7.4.290.0000.00716.30
7.4.280.0040.00416.30
7.4.270.0030.00316.26
7.4.260.0000.00716.48
7.4.250.0030.00316.31
7.4.240.0030.00316.54
7.4.230.0070.00016.55
7.4.220.0070.01016.21
7.4.210.0050.01016.47
7.4.200.0030.00316.34
7.4.160.0080.01116.44
7.4.150.0140.00417.40
7.4.140.0130.00717.86
7.4.130.0000.01916.40
7.4.120.0110.00816.29
7.4.110.0100.00716.44
7.4.100.0140.00316.45
7.4.90.0070.01016.33
7.4.80.0040.01819.39
7.4.70.0090.01216.20
7.4.60.0100.00616.30
7.4.50.0060.00916.09
7.4.40.0110.00616.40
7.4.30.0060.01216.08
7.4.00.0060.00914.55
7.3.330.0060.00012.83
7.3.320.0060.00013.03
7.3.310.0060.00016.07
7.3.300.0050.00215.96
7.3.290.0030.00315.99
7.3.280.0090.00816.14
7.3.270.0130.00617.40
7.3.260.0120.00616.21
7.3.250.0070.01316.19
7.3.240.0100.01116.13
7.3.230.0220.00016.23
7.3.210.0090.00616.35
7.3.200.0120.00816.35
7.3.190.0130.00316.18
7.3.180.0040.01216.27
7.3.170.0060.00916.43
7.3.160.0060.01016.22
7.2.330.0090.00816.50
7.2.320.0070.01516.51
7.2.310.0060.01516.14
7.2.300.0100.00716.07
7.2.290.0130.01016.41
7.2.60.0200.00916.45
7.1.200.0080.00415.54
7.1.110.0140.00417.70
7.1.100.0030.01217.86
7.1.90.0080.00618.05
7.1.80.0070.00717.80
7.1.70.0100.00616.88
7.1.60.0210.00635.10
7.1.50.0220.00634.41
7.1.40.0260.01334.25
7.1.30.0200.02034.27
7.1.20.0270.01334.40
7.1.10.0130.00616.42
7.1.00.0100.01016.28
7.0.250.0040.01117.77
7.0.240.0060.00617.81
7.0.230.0060.00917.62
7.0.220.0060.00717.48
7.0.210.0130.00316.39
7.0.200.0060.00616.70
7.0.190.0030.00916.61
7.0.180.0030.01015.84
7.0.170.0030.01516.11
7.0.160.0070.00715.85
7.0.150.0030.01616.01
7.0.140.0060.01316.03
7.0.130.0140.00316.28
7.0.120.0000.01516.11
7.0.110.0120.00316.08
7.0.100.0030.01016.06
7.0.90.0090.00916.36
7.0.80.0090.00916.36
7.0.70.0080.00516.18
7.0.60.0000.01215.80
7.0.50.0090.00916.31
7.0.40.0030.01416.49
7.0.30.0070.01016.41
7.0.20.0060.00916.37
7.0.10.0040.01116.22
7.0.00.0120.00316.24

preferences:
66.61 ms | 400 KiB | 5 Q