3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test_fixed_array = New SplFixedArray(3); $test_fixed_array[0] = 0; $test_fixed_array[1] = 1; $test_fixed_array[2] = 2; $ser = serialize($test_fixed_array); $test_fixed_array_recover = unserialize($ser); var_dump($test_fixed_array_recover); file_put_contents("test.txt", $ser);

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.0100.01018.43
8.3.50.0160.00616.11
8.3.40.0110.00418.71
8.3.30.0070.00718.79
8.3.20.0040.00418.85
8.3.10.0000.00821.55
8.3.00.0030.00520.96
8.2.180.0140.00616.50
8.2.170.0090.00919.09
8.2.160.0120.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00019.70
8.2.120.0040.00426.35
8.2.110.0150.00722.11
8.2.100.0080.00317.72
8.2.90.0040.00417.75
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0040.00418.09
8.2.50.0000.00818.10
8.2.40.0000.00820.55
8.2.30.0040.00419.20
8.2.20.0020.00518.07
8.2.10.0000.00718.04
8.2.00.0070.00017.48
8.1.280.0090.00625.92
8.1.270.0050.00324.01
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0070.00323.92
8.1.230.0080.00319.08
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0060.00617.10
8.1.190.0060.00316.98
8.1.180.0000.00818.10
8.1.170.0050.00318.49
8.1.160.0000.00819.01
8.1.150.0040.00420.31
8.1.140.0000.00719.48
8.1.130.0000.00717.57
8.1.120.0040.00417.37
8.1.110.0030.00517.40
8.1.100.0040.00417.41
8.1.90.0070.00017.37
8.1.80.0040.00417.38
8.1.70.0030.00317.43
8.1.60.0060.00617.56
8.1.50.0000.00817.46
8.1.40.0080.00017.46
8.1.30.0080.00017.50
8.1.20.0000.00817.51
8.1.10.0080.00017.46
8.1.00.0040.00417.50
8.0.300.0040.00419.69
8.0.290.0090.00016.75
8.0.280.0070.00018.30
8.0.270.0070.00017.09
8.0.260.0070.00017.20
8.0.250.0000.00616.83
8.0.240.0000.00717.00
8.0.230.0070.00016.86
8.0.220.0030.00316.89
8.0.210.0050.00316.80
8.0.200.0060.00017.00
8.0.190.0040.00416.94
8.0.180.0040.00416.92
8.0.170.0040.00416.80
8.0.160.0040.00416.80
8.0.150.0000.00716.84
8.0.140.0000.00716.91
8.0.130.0000.00513.30
8.0.120.0080.00016.91
8.0.110.0000.00816.75
8.0.100.0070.00016.89
8.0.90.0070.00016.92
8.0.80.0100.00716.94
8.0.70.0000.00716.90
8.0.60.0040.00416.74
8.0.50.0040.00416.88
8.0.30.0120.00917.07
8.0.20.0130.01117.40
8.0.10.0040.00416.89
8.0.00.0140.01016.70
7.4.330.0080.00015.55
7.4.320.0030.00316.45
7.4.300.0030.00316.52
7.4.290.0000.00716.49
7.4.280.0070.00316.61
7.4.270.0000.00716.59
7.4.260.0040.00716.46
7.4.250.0030.00316.51
7.4.240.0040.00416.54
7.4.230.0030.00516.57
7.4.220.0130.00616.50
7.4.210.0000.01516.54
7.4.200.0070.00016.37
7.4.160.0100.00716.55
7.4.150.0160.00617.40
7.4.140.0130.00717.86
7.4.130.0120.01016.40
7.4.120.0100.00816.51
7.4.110.0150.00416.29
7.4.100.0120.00416.51
7.4.90.0060.01216.50
7.4.80.0090.01019.39
7.4.70.0070.01016.57
7.4.60.0070.01016.23
7.4.50.0070.01116.13
7.4.40.0130.00316.25
7.4.30.0130.01016.43
7.4.00.0090.00315.00
7.3.330.0000.00513.19
7.3.320.0030.00313.26
7.3.310.0000.00716.14
7.3.300.0040.00416.13
7.3.290.0090.00816.33
7.3.280.0080.00916.30
7.3.270.0140.00317.40
7.3.260.0100.01016.35
7.3.250.0080.01116.35
7.3.240.0120.00816.38
7.3.230.0080.00916.39
7.3.210.0170.00016.48
7.3.200.0060.01016.34
7.3.190.0150.00316.26
7.3.180.0070.01016.59
7.3.170.0060.01016.34
7.3.160.0200.00316.24
7.3.10.0090.00716.25
7.3.00.0140.00316.39
7.2.330.0130.00316.73
7.2.320.0160.00616.64
7.2.310.0100.00716.58
7.2.300.0110.00716.66
7.2.290.0030.01416.69
7.2.130.0140.00816.54
7.2.120.0090.00716.70
7.2.110.0140.00416.77
7.2.100.0050.01016.70
7.2.90.0070.01216.54
7.2.80.0130.00416.63
7.2.70.0090.00916.74
7.2.60.0070.00516.60
7.2.50.0090.00416.61
7.2.40.0050.00916.65
7.2.30.0080.00816.47
7.2.20.0120.00716.75
7.2.10.0080.00816.86
7.2.00.0080.00316.69
7.1.250.0100.00615.53
7.1.70.0000.00817.29
7.1.60.0030.01017.16
7.1.00.0030.07722.58
7.0.200.0110.00714.73
7.0.130.0070.05722.14
7.0.120.0100.07022.08
7.0.110.0200.06722.16
7.0.100.0070.05321.97
7.0.90.0100.05722.13
7.0.80.0070.06722.07
7.0.70.0170.04722.08
7.0.60.0100.05321.97
7.0.50.0230.06722.06
7.0.40.0070.07022.05
7.0.30.0030.05722.11
7.0.20.0100.08022.13
7.0.10.0000.06722.15
7.0.00.0130.06722.16
5.6.280.0070.05721.11
5.6.270.0070.07721.13
5.6.260.0170.04720.91
5.6.250.0100.07021.03
5.6.240.0130.05721.15
5.6.230.0100.06720.97
5.6.220.0070.05720.82
5.6.210.0130.05320.84
5.6.200.0070.06721.02
5.6.190.0070.07320.77
5.6.180.0130.04720.88
5.6.170.0070.05720.99
5.6.160.0000.08321.00
5.6.150.0100.08020.86
5.6.140.0100.08020.84
5.6.130.0100.05720.76
5.6.120.0100.06020.76
5.6.110.0070.07720.80
5.6.100.0130.07021.01
5.6.90.0130.07320.89
5.6.80.0170.05320.43
5.6.70.0100.04720.44
5.6.60.0030.05720.34
5.6.50.0200.07320.15
5.6.40.0070.05020.21
5.6.30.0070.07020.23
5.6.20.0130.07020.38
5.6.10.0100.07020.40
5.6.00.0000.07720.33

preferences:
70 ms | 400 KiB | 5 Q