3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array(); if(array_reduce($array, function(&$res, $a){if ($a) $res = true;})) echo "EMPTY";

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.70.0070.01416.71
8.3.60.0060.00918.43
8.3.50.0110.00721.09
8.3.40.0140.00318.71
8.3.30.0130.00020.20
8.3.20.0050.00320.34
8.3.10.0040.00422.09
8.3.00.0080.00022.43
8.2.180.0170.00316.50
8.2.170.0070.01422.96
8.2.160.0160.00320.27
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00721.00
8.2.110.0090.00022.03
8.2.100.0030.00819.21
8.2.90.0080.00019.14
8.2.80.0000.00919.21
8.2.70.0060.00317.63
8.2.60.0040.00418.04
8.2.50.0000.00918.07
8.2.40.0060.00318.22
8.2.30.0040.00418.07
8.2.20.0040.00417.65
8.2.10.0040.00417.86
8.2.00.0070.00017.84
8.1.280.0110.01125.92
8.1.270.0100.00324.66
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00623.88
8.1.230.0120.00019.16
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0000.00817.54
8.1.180.0030.00620.16
8.1.170.0030.00618.57
8.1.160.0000.00722.10
8.1.150.0050.00318.63
8.1.140.0040.00417.50
8.1.130.0000.00717.88
8.1.120.0070.00017.45
8.1.110.0000.00817.47
8.1.100.0000.00717.37
8.1.90.0070.00017.50
8.1.80.0000.00717.36
8.1.70.0000.00717.36
8.1.60.0030.00617.64
8.1.50.0000.00717.46
8.1.40.0040.00417.55
8.1.30.0060.00317.59
8.1.20.0040.00417.55
8.1.10.0050.00217.57
8.1.00.0000.00817.52
8.0.300.0050.00218.77
8.0.290.0000.00716.93
8.0.280.0070.00018.44
8.0.270.0000.00817.07
8.0.260.0070.00016.93
8.0.250.0000.00716.87
8.0.240.0000.00716.91
8.0.230.0000.00716.91
8.0.220.0000.00816.79
8.0.210.0050.00316.92
8.0.200.0000.00617.02
8.0.190.0030.00517.00
8.0.180.0000.00716.93
8.0.170.0060.00316.93
8.0.160.0000.00816.80
8.0.150.0000.00717.00
8.0.140.0000.00816.95
8.0.130.0000.00513.42
8.0.120.0000.00716.83
8.0.110.0050.00316.94
8.0.100.0000.00817.02
8.0.90.0000.00816.99
8.0.80.0160.00316.94
8.0.70.0000.00716.89
8.0.60.0050.00216.86
8.0.50.0050.00316.91
8.0.30.0100.01017.30
8.0.20.0110.00717.40
8.0.10.0000.00817.07
8.0.00.0070.01116.82
7.4.330.0000.00415.00
7.4.320.0000.00716.63
7.4.300.0000.00716.51
7.4.290.0000.00716.52
7.4.280.0000.00616.50
7.4.270.0000.00716.52
7.4.260.0030.00316.49
7.4.250.0040.00416.37
7.4.240.0040.00316.52
7.4.230.0030.00316.43
7.4.220.0120.01216.46
7.4.210.0080.00616.59
7.4.200.0000.00716.66
7.4.190.0000.00816.77
7.4.160.0100.00716.40
7.4.150.0070.01017.40
7.4.140.0060.01617.86
7.4.130.0140.01116.59
7.4.120.0110.00616.54
7.4.110.0160.00616.67
7.4.100.0060.01016.48
7.4.90.0100.00716.46
7.4.80.0060.01119.39
7.4.70.0170.00316.29
7.4.60.0060.00916.56
7.4.50.0060.00016.40
7.4.40.0030.01222.77
7.4.30.0090.00616.44
7.4.00.0080.00814.85
7.3.330.0020.00213.30
7.3.320.0000.00513.11
7.3.310.0000.00716.20
7.3.300.0000.00716.32
7.3.290.0090.01016.38
7.3.280.0080.00916.30
7.3.270.0040.01317.40
7.3.260.0170.00016.46
7.3.250.0090.01216.39
7.3.240.0060.01016.42
7.3.230.0100.00716.44
7.3.210.0060.01616.26
7.3.200.0090.00919.39
7.3.190.0110.00516.32
7.3.180.0120.00316.25
7.3.170.0120.00316.30
7.3.160.0060.01016.33
7.3.120.0070.00714.75
7.3.110.0060.00614.92
7.3.100.0030.01014.70
7.3.90.0070.01114.95
7.3.80.0100.00314.61
7.3.70.0040.00814.68
7.3.60.0030.01014.48
7.3.50.0040.00814.77
7.3.40.0100.00714.73
7.3.30.0000.01614.51
7.3.20.0090.00616.70
7.3.10.0060.00616.69
7.3.00.0000.01216.54
7.2.330.0120.00616.41
7.2.320.0100.01016.30
7.2.310.0130.01016.68
7.2.300.0150.00616.45
7.2.290.0030.01616.42
7.2.240.0060.01014.57
7.2.230.0080.00814.61
7.2.220.0060.00814.57
7.2.210.0030.01315.08
7.2.200.0060.01014.92
7.2.190.0030.01014.90
7.2.180.0030.01314.95
7.2.170.0030.00714.75
7.2.160.0080.00814.65
7.2.150.0070.01016.36
7.2.140.0030.01216.61
7.2.130.0070.01016.70
7.2.120.0030.01516.73
7.2.110.0030.01316.74
7.2.100.0000.01816.88
7.2.90.0100.00716.94
7.2.80.0090.00916.97
7.2.70.0060.00916.77
7.2.60.0030.01016.88
7.2.50.0120.00316.79
7.2.40.0090.00616.57
7.2.30.0030.00916.53
7.2.20.0100.00716.73
7.2.10.0030.01216.95
7.2.00.0030.01017.86
7.1.330.0090.00315.80
7.1.320.0070.00715.53
7.1.310.0040.00815.75
7.1.300.0030.01015.63
7.1.290.0040.01115.64
7.1.280.0070.00715.42
7.1.270.0040.00715.63
7.1.260.0080.00315.68
7.1.250.0060.00315.41
7.1.200.0080.00815.72
7.1.100.0030.00918.32
7.1.70.0000.01116.96
7.1.60.0130.01019.21
7.1.50.0180.00716.64
7.1.00.0030.03322.35
7.0.200.0290.00414.59
7.0.140.0070.07021.92
7.0.60.0100.03720.06
7.0.50.0030.07717.87
7.0.40.0070.08720.04
7.0.30.0270.05320.21
7.0.20.0170.05720.05
7.0.10.0330.04020.33
7.0.00.0100.07720.08
5.6.280.0000.07721.12
5.6.210.0100.07720.56
5.6.200.0030.08318.18
5.6.190.0030.04320.59
5.6.180.0370.05020.61
5.6.170.0200.04720.44
5.6.160.0070.06320.47
5.6.150.0100.07718.18
5.6.140.0030.05018.15
5.6.130.0030.04718.17
5.6.120.0100.03721.11
5.6.110.0030.04321.02
5.6.100.0030.07021.00
5.6.90.0070.04320.90
5.6.80.0130.07020.36
5.6.70.0330.06320.35
5.5.350.0030.07720.44
5.5.340.0170.06718.05
5.5.330.0070.07720.30
5.5.320.0200.08020.38
5.5.310.0400.06720.36
5.5.300.0000.08317.98
5.5.290.0100.07017.96
5.5.280.0070.07720.90
5.5.270.0100.08320.80
5.5.260.0030.04320.87
5.5.250.0000.04320.70
5.5.240.0130.07720.27
5.4.450.0230.04719.61
5.4.440.1200.07719.55
5.4.430.0300.05719.16
5.4.420.0700.05019.45
5.4.410.0970.04719.45
5.4.400.0800.05718.82
5.4.390.0200.05718.80
5.4.380.0170.06018.52
5.4.370.0070.06018.60
5.4.360.0100.05318.56
5.4.350.0060.04712.02
5.4.340.0040.04612.02
5.4.320.0040.03812.50
5.4.310.0070.04012.50
5.4.300.0120.03012.50
5.4.290.0070.03612.50
5.4.280.0060.03612.39
5.4.270.0050.03912.40
5.4.260.0080.03512.40
5.4.250.0130.06718.92
5.4.240.0030.08018.95
5.4.230.0000.06018.83
5.4.220.0100.05318.63
5.4.210.0100.05318.96
5.4.200.0130.05018.99
5.4.190.0100.05718.89
5.4.180.0030.07018.92
5.4.170.0070.05318.89
5.4.160.0100.05019.06
5.4.150.0130.05018.72
5.4.140.0100.04716.39
5.4.130.0000.05316.43
5.4.120.0070.05016.38
5.4.110.0030.05316.45
5.4.100.0070.07316.32
5.4.90.0000.05316.45
5.4.80.0000.05316.45
5.4.70.0000.05316.43
5.4.60.0200.06316.52
5.4.50.0100.04716.25
5.4.40.0030.05316.43
5.4.30.0130.04316.41
5.4.20.0100.07016.44
5.4.10.0100.04716.35
5.4.00.0070.05015.83
5.3.290.0040.04212.80
5.3.280.0100.05014.66
5.3.270.0170.05714.77
5.3.260.0100.05014.60
5.3.250.0000.05714.68
5.3.240.0070.05314.68
5.3.230.0100.04714.61
5.3.220.0070.05314.74
5.3.210.0130.05014.54
5.3.200.0070.05014.46
5.3.190.0030.05314.46
5.3.180.0030.05314.77
5.3.170.0030.05314.57
5.3.160.0170.05314.39
5.3.150.0100.04714.54
5.3.140.0030.07314.63
5.3.130.0000.06014.51
5.3.120.0070.08014.77
5.3.110.0030.06014.63
5.3.100.0100.04714.12
5.3.90.0070.07314.07
5.3.80.0030.07014.18
5.3.70.0100.06714.20
5.3.60.0000.06014.08
5.3.50.0070.05313.78
5.3.40.0000.06013.96
5.3.30.0100.05013.73
5.3.20.0130.04013.60
5.3.10.0030.05313.73
5.3.00.0070.04713.82
5.2.170.0070.04311.23
5.2.160.0030.04711.15
5.2.150.0130.05011.15
5.2.140.0000.04310.89
5.2.130.0000.04311.01
5.2.120.0070.03711.12
5.2.110.0070.03711.25
5.2.100.0130.03011.13
5.2.90.0030.04011.25
5.2.80.0070.03711.02
5.2.70.0000.04310.92
5.2.60.0030.04310.98
5.2.50.0030.04311.02
5.2.40.0030.04010.92
5.2.30.0070.03710.97
5.2.20.0030.04310.98
5.2.10.0030.03710.93
5.2.00.0030.04010.80
5.1.60.0030.0379.92
5.1.50.0030.03310.03
5.1.40.0070.03010.06
5.1.30.0030.03710.31
5.1.20.0030.04010.18
5.1.10.0030.04710.13
5.1.00.0130.0279.85
5.0.50.0000.0338.50
5.0.40.0070.0238.46
5.0.30.0070.0578.45
5.0.20.0030.0308.28
5.0.10.0000.0308.12
5.0.00.0030.0408.11
4.4.90.0100.0176.19
4.4.80.0030.0206.19
4.4.70.0000.0236.19
4.4.60.0000.0236.19
4.4.50.0070.0176.19
4.4.40.0000.0336.19
4.4.30.0070.0176.19
4.4.20.0070.0276.19
4.4.10.0030.0206.19
4.4.00.0030.0306.19
4.3.110.0000.0236.19
4.3.100.0000.0236.19
4.3.90.0000.0206.19
4.3.80.0030.0336.19
4.3.70.0030.0206.19
4.3.60.0070.0236.19
4.3.50.0000.0336.19
4.3.40.0070.0436.19
4.3.30.0000.0336.19
4.3.20.0030.0306.19
4.3.10.0100.0136.19
4.3.00.0000.0236.61

preferences:
41.13 ms | 401 KiB | 5 Q