3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = array( array ( 'excluded_by_default' => false, 'name' => 'Erik1' ), array ( 'excluded_by_default' => true, 'name' => 'Erik2' ), array ( 'excluded_by_default' => false, 'name' => 'Erik3' ) ); //Sort by excluded by default. function cmp($a, $b) { $test = ($a['excluded_by_default'] === $b['excluded_by_default']) ? -1 : 1; echo $test; return ($a['excluded_by_default'] === $b['excluded_by_default']) ? -1 : 1; } usort($list, "cmp"); var_dump($list);

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.0030.01416.13
8.3.50.0100.00821.01
8.3.40.0040.01218.85
8.3.30.0120.00618.67
8.3.20.0040.01118.74
8.3.10.0050.00320.53
8.3.00.0070.00023.51
8.2.180.0110.01116.88
8.2.170.0000.01522.96
8.2.160.0100.01020.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00319.49
8.2.110.0050.00520.24
8.2.100.0040.00817.91
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0080.00018.03
8.2.30.0030.00519.96
8.2.20.0050.00317.64
8.2.10.0040.00419.49
8.2.00.0070.00317.75
8.1.280.0030.01225.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00022.61
8.1.230.0050.00521.04
8.1.220.0000.00818.77
8.1.210.0070.00318.90
8.1.200.0070.00616.88
8.1.190.0050.00217.53
8.1.180.0060.00318.10
8.1.170.0000.00818.51
8.1.160.0070.00018.71
8.1.150.0040.00418.54
8.1.140.0000.00717.40
8.1.130.0030.00317.91
8.1.120.0000.00717.40
8.1.110.0000.00817.38
8.1.100.0040.00417.46
8.1.90.0000.00717.43
8.1.80.0040.00417.31
8.1.70.0030.00617.32
8.1.60.0000.00817.38
8.1.50.0040.00417.34
8.1.40.0070.00017.51
8.1.30.0040.00417.55
8.1.20.0050.00317.60
8.1.10.0000.00717.50
8.1.00.0040.00417.41
8.0.300.0000.00719.94
8.0.290.0060.00317.05
8.0.280.0070.00018.39
8.0.270.0070.00017.14
8.0.260.0030.00316.82
8.0.250.0040.00416.86
8.0.240.0000.00816.86
8.0.230.0000.00716.88
8.0.220.0030.00316.74
8.0.210.0030.00516.82
8.0.200.0060.00016.91
8.0.190.0000.00816.91
8.0.180.0070.00016.83
8.0.170.0000.00816.90
8.0.160.0000.00716.97
8.0.150.0040.00416.70
8.0.140.0070.00316.81
8.0.130.0030.00313.24
8.0.120.0040.00416.79
8.0.110.0070.00016.81
8.0.100.0020.00516.70
8.0.90.0020.00516.87
8.0.80.0120.00316.75
8.0.70.0000.00716.71
8.0.60.0040.00416.91
8.0.50.0050.00216.86
8.0.30.0110.01117.02
8.0.20.0090.00917.40
8.0.10.0040.00416.76
8.0.00.0120.01016.78
7.4.330.0000.00613.43
7.4.320.0070.00016.56
7.4.300.0000.00616.62
7.4.290.0000.00716.46
7.4.280.0040.00416.50
7.4.270.0050.00216.63
7.4.260.0060.00013.23
7.4.250.0050.00316.40
7.4.240.0000.00716.52
7.4.230.0040.00416.59
7.4.220.0140.00316.46
7.4.210.0090.00916.58
7.4.200.0040.00416.54
7.4.190.0000.00816.56
7.4.160.0080.00816.58
7.4.150.0110.00717.40
7.4.140.0090.01117.86
7.4.130.0130.00816.55
7.4.120.0110.00616.49
7.4.110.0140.00316.64
7.4.100.0050.01316.61
7.4.90.0140.01016.41
7.4.80.0150.00319.37
7.4.70.0100.00716.37
7.4.60.0140.00316.32
7.4.50.0040.00416.56
7.4.40.0040.01522.27
7.4.30.0180.00016.50
7.4.10.0070.00714.99
7.4.00.0080.01014.97
7.3.330.0020.00213.46
7.3.320.0050.00013.34
7.3.310.0070.00016.40
7.3.300.0040.00416.25
7.3.290.0090.00616.35
7.3.280.0050.01116.29
7.3.270.0100.01017.40
7.3.260.0080.00918.24
7.3.250.0130.00716.36
7.3.240.0180.00616.37
7.3.230.0090.00916.39
7.3.210.0030.01316.41
7.3.200.0060.01819.39
7.3.190.0190.00416.29
7.3.180.0100.00716.37
7.3.170.0150.00616.46
7.3.160.0080.00816.35
7.3.130.0120.00415.00
7.3.120.0100.00714.97
7.3.110.0080.01014.96
7.3.100.0060.00914.83
7.3.90.0080.00614.99
7.3.80.0080.00614.81
7.3.70.0050.00914.74
7.3.60.0090.00414.90
7.3.50.0050.00814.68
7.3.40.0060.00514.70
7.3.30.0050.00714.68
7.3.20.0060.00716.52
7.3.10.0040.00816.64
7.3.00.0060.00716.61
7.2.330.0130.00616.77
7.2.320.0100.00716.34
7.2.310.0120.01216.75
7.2.300.0110.01116.79
7.2.290.0060.01016.76
7.2.260.0070.01315.18
7.2.250.0110.00714.83
7.2.240.0110.00715.09
7.2.230.0080.00714.94
7.2.220.0050.01015.03
7.2.210.0060.00815.06
7.2.200.0080.00614.90
7.2.190.0040.00714.94
7.2.180.0070.00615.04
7.2.170.0050.00815.10
7.2.160.0100.00314.88
7.2.150.0080.00316.74
7.2.140.0020.01016.96
7.2.130.0040.01116.83
7.2.120.0030.01116.90
7.2.110.0060.00816.82
7.2.100.0040.00916.62
7.2.90.0070.00916.97
7.2.80.0060.00916.92
7.2.70.0040.00816.88
7.2.60.0040.01016.95
7.2.50.0040.00716.93
7.2.40.0020.01316.78
7.2.30.0060.00916.83
7.2.20.0060.00516.82
7.2.10.0060.01016.82
7.2.00.0080.00517.58
7.1.330.0050.01115.67
7.1.320.0050.00815.74
7.1.310.0030.01015.60
7.1.300.0090.00215.85
7.1.290.0030.00715.73
7.1.280.0080.00615.76
7.1.270.0070.00715.72
7.1.260.0060.00415.78
7.1.250.0080.00515.71
7.1.240.0100.00515.79
7.1.230.0060.00715.81
7.1.220.0020.01515.79
7.1.210.0080.00815.83
7.1.200.0040.01015.69
7.1.190.0050.00715.73
7.1.180.0070.00815.76
7.1.170.0060.01015.77
7.1.160.0080.00715.91
7.1.150.0050.00915.77
7.1.140.0050.00715.77
7.1.130.0090.00615.70
7.1.120.0050.00515.61
7.1.110.0050.00815.74
7.1.100.0090.00516.75
7.1.90.0030.01015.74
7.1.80.0060.00915.59
7.1.70.0090.00416.24
7.1.60.0040.01017.07
7.1.50.0080.00816.16
7.1.40.0050.00915.58
7.1.30.0040.01015.84
7.1.20.0050.00915.62
7.1.10.0010.01115.73
7.1.00.0080.02718.06
7.0.330.0090.00315.54
7.0.320.0070.00215.16
7.0.310.0030.01015.41
7.0.300.0050.01015.44
7.0.290.0080.00215.39
7.0.280.0020.00915.47
7.0.270.0080.00515.45
7.0.260.0070.00515.38
7.0.250.0030.00915.46
7.0.240.0060.00615.37
7.0.230.0030.01015.36
7.0.220.0020.00815.47
7.0.210.0040.00615.19
7.0.200.0080.00515.95
7.0.190.0070.00715.47
7.0.180.0090.00315.22
7.0.170.0050.00615.55
7.0.160.0020.01215.24
7.0.150.0060.01015.43
7.0.140.0020.03217.58
7.0.130.0050.01015.28
7.0.120.0070.00715.19
7.0.110.0050.00515.48
7.0.100.0030.01115.44
7.0.90.0030.01015.47
7.0.80.0020.01415.57
7.0.70.0070.00815.31
7.0.60.0050.02916.81
7.0.50.0070.01816.24
7.0.40.0030.02014.88
7.0.30.0060.02014.92
7.0.20.0050.02014.91
7.0.10.0020.02015.02
7.0.00.0030.01814.90
5.6.400.0070.00814.33
5.6.390.0070.00514.32
5.6.380.0030.00814.26
5.6.370.0030.01314.27
5.6.360.0030.00914.60
5.6.350.0050.00914.58
5.6.340.0060.00714.52
5.6.330.0060.01114.45
5.6.320.0060.00614.36
5.6.310.0040.00614.43
5.6.300.0030.01414.55
5.6.290.0020.00914.64
5.6.280.0030.03316.62
5.6.270.0070.01014.55
5.6.260.0020.01114.52
5.6.250.0060.00514.27
5.6.240.0000.01114.53
5.6.230.0030.01214.38
5.6.220.0060.00814.35
5.6.210.0010.03016.51
5.6.200.0070.01615.67
5.6.190.0030.01815.71
5.6.180.0040.01915.71
5.6.170.0050.01915.58
5.6.160.0050.01815.76
5.6.150.0020.02015.70
5.6.140.0110.01515.67
5.6.130.0010.02215.55
5.6.120.0070.02215.69
5.6.110.0040.02215.72
5.6.100.0070.03015.75
5.6.90.0050.02915.59
5.6.80.0070.02015.36
5.6.70.0070.01615.31
5.6.60.0090.02815.41
5.6.50.0060.03215.39
5.6.40.0060.03515.46
5.6.30.0070.02915.36
5.6.20.0080.03115.43
5.6.10.0100.02815.40
5.6.00.0110.02215.35
5.5.380.0030.01014.23
5.5.370.0090.00714.30
5.5.360.0030.01013.97
5.5.350.0080.03316.33
5.5.340.0090.01315.50
5.5.330.0020.01815.47
5.5.320.0080.01515.61
5.5.310.0090.01615.55
5.5.300.0050.01915.46
5.5.290.0050.01815.68
5.5.280.0070.02515.54
5.5.270.0050.02515.37
5.5.260.0110.02915.65
5.5.250.0070.03215.44
5.5.240.0070.02815.23
5.5.230.0070.01515.28
5.5.220.0060.03215.25
5.5.210.0080.02915.27
5.5.200.0040.03515.24
5.5.190.0080.01615.27
5.5.180.0060.03315.25
5.5.170.0080.00714.07
5.5.160.0070.02715.16
5.5.150.0050.02915.21
5.5.140.0060.03114.94
5.5.130.0080.01915.25
5.5.120.0030.03415.23
5.5.110.0040.03215.22
5.5.100.0070.02215.25
5.5.90.0050.02715.35
5.5.80.0110.02915.16
5.5.70.0080.02615.21
5.5.60.0060.02915.35
5.5.50.0060.03415.12
5.5.40.0070.03115.24
5.5.30.0080.02815.23
5.5.20.0100.01915.07
5.5.10.0080.02215.20
5.5.00.0070.03114.98
5.4.450.0020.02014.44
5.4.440.0040.02214.46
5.4.430.0050.02914.51
5.4.420.0070.01914.42
5.4.410.0030.02014.32
5.4.400.0060.02014.38
5.4.390.0040.01814.30
5.4.380.0020.03514.27
5.4.370.0080.03114.36
5.4.360.0080.02914.29
5.4.350.0090.02714.20
5.4.340.0040.02114.37
5.4.330.0050.00511.97
5.4.320.0060.03114.26
5.4.310.0060.01714.32
5.4.300.0080.02814.15
5.4.290.0070.02114.25
5.4.280.0060.02914.36
5.4.270.0040.02514.28
5.4.260.0040.02214.15
5.4.250.0060.02714.37
5.4.240.0030.02814.31
5.4.230.0060.02614.32
5.4.220.0050.02014.30
5.4.210.0070.03014.27
5.4.200.0060.02614.28
5.4.190.0080.02714.13
5.4.180.0050.02614.20
5.4.170.0060.01814.29
5.4.160.0040.02914.23
5.4.150.0080.02014.30
5.4.140.0040.02913.48
5.4.130.0050.02313.39
5.4.120.0030.01813.31
5.4.110.0030.01713.50
5.4.100.0070.01913.41
5.4.90.0030.03113.52
5.4.80.0030.02913.44
5.4.70.0040.01913.39
5.4.60.0060.02913.35
5.4.50.0070.02613.50
5.4.40.0060.01913.33
5.4.30.0070.02713.36
5.4.20.0060.03113.46
5.4.10.0040.02213.47
5.4.00.0050.02913.17
5.3.290.0070.02812.66
5.3.280.0020.01812.64
5.3.270.0030.02312.75
5.3.260.0070.01812.76
5.3.250.0070.02812.67
5.3.240.0060.02912.66
5.3.230.0060.02412.66
5.3.220.0030.03012.57
5.3.210.0040.01712.63
5.3.200.0060.01612.63
5.3.190.0040.03012.67
5.3.180.0060.02112.74
5.3.170.0010.03312.75
5.3.160.0070.02412.67
5.3.150.0010.03112.61
5.3.140.0040.03112.66
5.3.130.0100.02612.64
5.3.120.0060.02912.63
5.3.110.0050.02512.57
5.3.100.0080.02612.54
5.3.90.0070.02712.49
5.3.80.0090.01412.44
5.3.70.0020.03112.43
5.3.60.0040.02412.48
5.3.50.0060.02512.45
5.3.40.0060.02012.36
5.3.30.0050.02812.47
5.3.20.0030.02712.41
5.3.10.0050.01712.33
5.3.00.0040.02412.26
5.2.170.0000.06711.36
5.2.160.0070.02711.26
5.2.150.0100.06011.26
5.2.140.0130.05311.26
5.2.130.0070.05311.26
5.2.120.0000.04011.26
5.2.110.0000.06311.26
5.2.100.0070.03711.31
5.2.90.0000.03311.26
5.2.80.0100.05311.26
5.2.70.0000.03311.26
5.2.60.0000.03311.26
5.2.50.0000.05311.26
5.2.40.0000.06311.26
5.2.30.0070.02711.26
5.2.20.0070.05311.26
5.2.10.0070.05711.26
5.2.00.0030.05711.26
5.1.60.0030.03311.26
5.1.50.0000.05711.26
5.1.40.0070.03311.26
5.1.30.0000.03711.26
5.1.20.0000.03011.26
5.1.10.0070.05711.26
5.1.00.0000.05011.26
5.0.50.0030.02311.26
5.0.40.0030.04311.26
5.0.30.0030.06711.26
5.0.20.0030.03011.26
5.0.10.0070.04011.26
5.0.00.0070.04711.26
4.4.90.0030.02711.26
4.4.80.0000.03011.26
4.4.70.0000.02711.26
4.4.60.0030.02711.26
4.4.50.0000.03711.26
4.4.40.0000.03011.26
4.4.30.0030.03311.26
4.4.20.0000.04011.26
4.4.10.0000.02711.26
4.4.00.0030.02711.26
4.3.110.0000.02711.26
4.3.100.0000.03311.26
4.3.90.0030.02711.26
4.3.80.0000.03311.26
4.3.70.0070.01711.26
4.3.60.0000.03311.26
4.3.50.0030.02711.26
4.3.40.0030.03311.26
4.3.30.0000.04011.26
4.3.20.0030.03011.26
4.3.10.0000.02311.26
4.3.00.0000.01711.26

preferences:
47.61 ms | 401 KiB | 5 Q