3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; use \Exception as Exception; class Test { public function test() { \SplFixedArray::fromArray($array); throw new Exception(); } } ?>

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.0110.00416.63
8.3.50.0080.01022.88
8.3.40.0090.00618.67
8.3.30.0060.00918.92
8.3.20.0080.00020.34
8.3.10.0030.00523.43
8.3.00.0060.00317.25
8.2.180.0120.00416.32
8.2.170.0110.00422.96
8.2.160.0030.01020.35
8.2.150.0000.00724.18
8.2.140.0020.00524.66
8.2.130.0110.00326.16
8.2.120.0080.00021.01
8.2.110.0090.00022.11
8.2.100.0000.01117.46
8.2.90.0080.00019.09
8.2.80.0000.00817.97
8.2.70.0060.00317.38
8.2.60.0090.00017.91
8.2.50.0000.00918.07
8.2.40.0040.00419.56
8.2.30.0020.00518.00
8.2.20.0040.00417.51
8.2.10.0050.00317.87
8.2.00.0040.00417.41
8.1.280.0160.00025.92
8.1.270.0060.00323.84
8.1.260.0000.00826.35
8.1.250.0030.00728.09
8.1.240.0090.00023.92
8.1.230.0000.01218.97
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0030.00616.88
8.1.180.0030.00518.10
8.1.170.0040.00818.26
8.1.160.0040.00421.91
8.1.150.0070.00018.75
8.1.140.0000.00717.25
8.1.130.0040.00417.67
8.1.120.0040.00417.30
8.1.110.0040.00417.33
8.1.100.0070.00017.39
8.1.90.0070.00017.34
8.1.80.0030.00517.34
8.1.70.0040.00417.29
8.1.60.0050.00317.38
8.1.50.0080.00017.31
8.1.40.0000.00817.34
8.1.30.0040.00417.41
8.1.20.0040.00417.59
8.1.10.0000.00717.34
8.1.00.0040.00417.29
8.0.300.0040.00418.77
8.0.290.0030.00616.63
8.0.280.0070.00018.32
8.0.270.0050.00217.13
8.0.260.0000.00617.18
8.0.250.0070.00016.76
8.0.240.0000.00616.88
8.0.230.0000.00716.70
8.0.220.0000.00716.70
8.0.210.0040.00416.73
8.0.200.0000.00616.73
8.0.190.0000.00816.77
8.0.180.0040.00416.70
8.0.170.0040.00416.79
8.0.160.0040.00416.76
8.0.150.0030.00316.74
8.0.140.0040.00416.74
8.0.130.0000.00713.20
8.0.120.0050.00316.75
8.0.110.0040.00416.67
8.0.100.0030.00316.56
8.0.90.0030.00316.54
8.0.80.0090.01316.74
8.0.70.0080.00016.74
8.0.60.0040.00416.83
8.0.50.0020.00516.55
8.0.30.0110.00816.92
8.0.20.0130.01617.40
8.0.10.0040.00416.85
8.0.00.0130.00716.52
7.4.330.0000.00515.00
7.4.320.0000.00716.47
7.4.300.0030.00316.40
7.4.290.0040.00416.37
7.4.280.0040.00416.36
7.4.270.0030.00316.32
7.4.260.0030.00316.35
7.4.250.0060.00316.35
7.4.240.0040.00316.43
7.4.230.0040.00416.50
7.4.220.0180.00016.30
7.4.210.0070.00716.33
7.4.200.0000.00716.49
7.4.160.0090.00616.41
7.4.150.0130.00717.40
7.4.140.0070.01217.86
7.4.130.0080.01016.43
7.4.120.0100.00816.38
7.4.110.0100.00816.37
7.4.100.0030.01416.41
7.4.90.0130.00616.55
7.4.80.0060.01119.39
7.4.70.0110.01116.55
7.4.60.0170.00016.30
7.4.50.0060.00016.30
7.4.40.0180.00616.35
7.4.30.0130.00316.44
7.4.00.0040.01114.92
7.3.330.0030.00313.18
7.3.320.0030.00312.94
7.3.310.0040.00416.17
7.3.300.0000.00616.03
7.3.290.0030.01216.13
7.3.280.0120.00516.18
7.3.270.0100.00717.40
7.3.260.0130.00716.20
7.3.250.0080.01316.29
7.3.240.0130.00316.15
7.3.230.0060.01016.39
7.3.210.0140.00316.16
7.3.200.0120.00319.39
7.3.190.0090.01216.52
7.3.180.0120.00416.25
7.3.170.0070.01016.45
7.3.160.0090.00616.21
7.2.330.0160.00016.27
7.2.320.0090.01216.29
7.2.310.0140.00716.49
7.2.300.0070.01116.36
7.2.290.0100.00616.19
7.2.60.0100.00716.27
7.2.50.0190.00616.41
7.1.200.0060.00615.54
7.1.70.0040.00416.95
7.1.60.0100.01419.40
7.1.50.0140.00716.89
7.1.00.0130.07022.51
7.0.200.0030.00616.06
7.0.140.0030.07721.99
7.0.60.0070.05719.91
7.0.50.0000.06717.85
7.0.40.0030.07320.16
7.0.30.0130.04320.16
7.0.20.0230.04320.08
7.0.10.0070.09020.06
7.0.00.0000.06020.33
5.6.280.0000.07720.82
5.6.210.0000.09020.63
5.6.200.0070.07718.18
5.6.190.0070.05020.34
5.6.180.0330.05720.39
5.6.170.0200.03720.71
5.6.160.0030.04720.43
5.6.150.0070.08718.19
5.6.140.0100.08018.18
5.6.130.0100.03718.15
5.6.120.0070.08721.14
5.6.110.0100.07021.02
5.6.100.0030.08021.11
5.6.90.0100.03721.16
5.6.80.0130.06720.53
5.5.350.0200.04020.40
5.5.340.0170.07017.99
5.5.330.0070.04020.28
5.5.320.0200.04720.24
5.5.310.0330.07320.18
5.5.300.0070.03717.98
5.5.290.0000.09017.97
5.5.280.0070.03720.96
5.5.270.0200.02720.76
5.5.260.0130.07720.76
5.5.250.0100.08020.71
5.5.240.0130.06320.27
5.4.450.0900.04319.58
5.4.440.0670.05319.54
5.4.430.0670.04719.47
5.4.420.0800.05319.29
5.4.410.0170.05019.04
5.4.400.0370.05718.87
5.4.390.0430.05318.70
5.4.380.0070.05318.45
5.4.370.0100.04718.52
5.4.360.0070.05018.57
5.4.350.0070.03512.02
5.4.340.0060.04112.02
5.4.320.0100.04312.50
5.4.310.0130.04212.50
5.4.300.0050.03912.50
5.4.290.0050.04112.50
5.4.280.0090.03412.39
5.4.270.0060.03612.39
5.4.260.0090.03412.40
5.4.250.0040.04512.39
5.4.240.0070.03912.39
5.4.230.0050.04412.39
5.4.220.0060.03612.39
5.4.210.0050.03612.39
5.4.200.0060.03812.39
5.4.190.0050.03612.38
5.4.180.0050.03612.39
5.4.170.0090.03212.39
5.4.160.0080.03312.39
5.4.150.0060.03512.38
5.4.140.0070.03512.07
5.4.130.0060.03412.06
5.4.120.0080.04112.02
5.4.110.0060.04712.02
5.4.100.0070.03912.02
5.4.90.0090.03912.02
5.4.80.0060.03612.02
5.4.70.0050.04612.01
5.4.60.0100.03312.01
5.4.50.0050.03512.00
5.4.40.0080.03211.99
5.4.30.0060.03611.99
5.4.20.0050.03812.00
5.4.10.0080.03612.00
5.4.00.0070.03511.48
5.3.290.0070.04112.80
5.3.280.0100.03712.71
5.3.270.0110.04012.73
5.3.260.0070.04412.72
5.3.250.0050.04112.72
5.3.240.0070.03612.71
5.3.230.0060.03812.71
5.3.220.0060.03812.68
5.3.210.0030.04412.68
5.3.200.0050.03712.68
5.3.190.0040.03812.68
5.3.180.0090.03712.67
5.3.170.0040.04312.67
5.3.160.0070.03912.68
5.3.150.0050.03712.67
5.3.140.0050.03712.66
5.3.130.0090.03512.66
5.3.120.0040.04412.65
5.3.110.0080.04012.66
5.3.100.0020.04112.12
5.3.90.0070.03412.11
5.3.80.0080.04012.10
5.3.70.0110.03712.10
5.3.60.0070.03712.08
5.3.50.0040.03712.04
5.3.40.0030.04012.04
5.3.30.0070.04011.99
5.3.20.0050.04111.77
5.3.10.0040.03611.74
5.3.00.0060.04311.72
5.2.170.0040.0379.18
5.2.160.0060.0299.18
5.2.150.0040.0319.18
5.2.140.0030.0319.18
5.2.130.0080.0269.13
5.2.120.0040.0299.14
5.2.110.0040.0309.14
5.2.100.0040.0299.14
5.2.90.0050.0289.14
5.2.80.0020.0349.14
5.2.70.0020.0339.14
5.2.60.0050.0309.09
5.2.50.0050.0309.06
5.2.40.0030.0349.04
5.2.30.0040.0339.01
5.2.20.0040.0309.00
5.2.10.0040.0298.93
5.2.00.0070.0278.78
5.1.60.0030.0268.06
5.1.50.0040.0258.06
5.1.40.0050.0258.05
5.1.30.0040.0308.40
5.1.20.0080.0228.42
5.1.10.0060.0248.14
5.1.00.0050.0248.14
5.0.50.0060.0236.62
5.0.40.0030.0206.48
5.0.30.0030.0336.29
5.0.20.0050.0186.27
5.0.10.0040.0196.24
5.0.00.0040.0356.23
4.4.90.0020.0164.78
4.4.80.0030.0174.76
4.4.70.0040.0154.75
4.4.60.0020.0164.75
4.4.50.0050.0184.77
4.4.40.0020.0254.71
4.4.30.0020.0154.76
4.4.20.0040.0194.84
4.4.10.0020.0164.85
4.4.00.0040.0294.75
4.3.110.0060.0124.66
4.3.100.0030.0144.66
4.3.90.0040.0134.63
4.3.80.0040.0254.58
4.3.70.0010.0164.63
4.3.60.0020.0144.63
4.3.50.0040.0184.63
4.3.40.0040.0224.53
4.3.30.0020.0203.28
4.3.20.0010.0173.26
4.3.10.0010.0183.22
4.3.00.0170.0207.08

preferences:
39.21 ms | 400 KiB | 5 Q