3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new SplFixedArray(1); $a[0] = 1; $a[0]++; var_dump($a);

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.4.20.0120.00917.61
8.4.10.0040.00417.77
8.3.150.0090.00618.94
8.3.140.0080.00016.85
8.3.130.0100.01016.82
8.3.120.0030.00618.96
8.3.110.0100.00620.94
8.3.100.0060.00316.57
8.3.90.0040.01126.77
8.3.80.0030.00616.88
8.3.70.0100.01018.56
8.3.60.0140.00016.75
8.3.50.0070.01021.88
8.3.40.0110.00418.57
8.3.30.0070.00718.79
8.3.20.0040.00420.08
8.3.10.0040.00423.52
8.3.00.0080.00019.43
8.2.270.0140.00418.63
8.2.260.0040.00416.59
8.2.250.0110.00718.41
8.2.240.0110.00417.02
8.2.230.0090.00022.58
8.2.220.0080.00024.06
8.2.210.0100.00026.77
8.2.200.0060.00316.63
8.2.190.0090.00616.63
8.2.180.0140.00716.50
8.2.170.0070.00722.96
8.2.160.0140.00020.38
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00020.88
8.2.110.0080.00020.58
8.2.100.0070.00317.91
8.2.90.0080.00018.96
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0060.00317.93
8.2.50.0000.00918.07
8.2.40.0030.00519.82
8.2.30.0050.00518.19
8.2.20.0000.00817.61
8.2.10.0050.00218.03
8.2.00.0030.00517.62
8.1.310.0090.00616.46
8.1.300.0040.00418.30
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0100.00723.73
8.1.230.0070.00621.00
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0000.00718.10
8.1.170.0070.00418.46
8.1.160.0040.00421.94
8.1.150.0020.00518.89
8.1.140.0040.00417.37
8.1.130.0040.00419.07
8.1.120.0000.00717.36
8.1.110.0000.00717.36
8.1.100.0000.00717.43
8.1.90.0030.00317.38
8.1.80.0040.00417.33
8.1.70.0000.00817.29
8.1.60.0060.00317.56
8.1.50.0000.00817.32
8.1.40.0000.00817.43
8.1.30.0000.00817.42
8.1.20.0000.00817.56
8.1.10.0040.00417.43
8.1.00.0000.00817.48
8.0.300.0070.00019.98
8.0.290.0070.00016.75
8.0.280.0070.00018.41
8.0.270.0080.00017.98
8.0.260.0030.00518.43
8.0.250.0030.00316.98
8.0.240.0070.00016.98
8.0.230.0000.00616.96
8.0.220.0030.00316.92
8.0.210.0000.00716.89
8.0.200.0060.00016.83
8.0.190.0000.00816.90
8.0.180.0040.00416.92
8.0.170.0030.00516.88
8.0.160.0070.00016.75
8.0.150.0070.00016.84
8.0.140.0000.00716.79
8.0.130.0000.00513.28
8.0.120.0000.00816.86
8.0.110.0050.00316.87
8.0.100.0080.00016.70
8.0.90.0000.00716.75
8.0.80.0040.01116.85
8.0.70.0040.00416.78
8.0.60.0030.00516.77
8.0.50.0050.00216.86
8.0.30.0150.00517.13
8.0.20.0100.01217.23
8.0.10.0130.00717.00
8.0.00.0060.01316.94
7.4.330.0050.00015.00
7.4.320.0030.00316.41
7.4.300.0000.00716.42
7.4.290.0060.00016.50
7.4.280.0040.00416.43
7.4.270.0040.00416.42
7.4.260.0000.00716.39
7.4.250.0030.00516.32
7.4.240.0020.00516.46
7.4.230.0030.00316.53
7.4.220.0030.01516.55
7.4.210.0000.01416.48
7.4.200.0070.00016.46
7.4.160.0060.00916.40
7.4.150.0070.01416.95
7.4.140.0110.00717.27
7.4.130.0120.00916.35
7.4.120.0110.00816.51
7.4.110.0090.01016.39
7.4.100.0090.00916.37
7.4.90.0070.01016.39
7.4.80.0110.00616.36
7.4.70.0050.01516.36
7.4.60.0090.01116.35
7.4.50.0090.01216.42
7.4.40.0080.00916.23
7.4.30.0090.01016.33
7.4.20.0070.01316.59
7.4.10.0090.01215.61
7.4.00.0100.00715.46
7.3.330.0050.00013.19
7.3.320.0030.00313.04
7.3.310.0030.00316.32
7.3.300.0030.00316.34
7.3.290.0170.00016.23
7.3.280.0120.00616.29
7.3.270.0090.01516.88
7.3.260.0120.00816.25
7.3.250.0080.01016.34
7.3.240.0070.01316.35
7.3.230.0130.00916.38
7.3.220.0130.00616.37
7.3.210.0090.00916.21
7.3.200.0120.00617.96
7.3.190.0080.01016.24
7.3.180.0120.00916.32
7.3.170.0140.00716.45
7.3.160.0140.00416.52
7.3.150.0100.01016.22
7.3.140.0070.01316.44
7.3.130.0130.00715.65
7.3.120.0110.00615.35
7.3.110.0080.01215.60
7.3.100.0080.01015.64
7.3.90.0100.00815.60
7.3.80.0080.00715.57
7.3.70.0050.01015.43
7.3.60.0070.00915.26
7.3.50.0100.00715.40
7.3.40.0090.00715.37
7.3.30.0080.00715.34
7.3.20.0100.00716.39
7.3.10.0100.00716.49
7.3.00.0070.00916.53
7.2.340.0200.01016.38
7.2.330.0160.00516.21
7.2.320.0090.01316.48
7.2.310.0090.01416.25
7.2.300.0140.00916.37
7.2.290.0120.00916.43
7.2.280.0110.01116.12
7.2.270.0150.00816.27
7.2.260.0110.01115.65
7.2.250.0150.00615.66
7.2.240.0110.00915.76
7.2.230.0120.00815.71
7.2.220.0100.00815.67
7.2.210.0080.00815.50
7.2.200.0080.00915.54
7.2.190.0100.00715.42
7.2.180.0060.01015.63
7.2.170.0080.01515.49
7.2.160.0090.00715.55
7.2.150.0110.00916.68
7.2.140.0120.00716.68
7.2.130.0100.00816.66
7.2.120.0310.00716.24
7.2.110.0200.00616.22
7.2.100.0160.00916.16
7.2.90.0130.00816.16
7.2.80.0220.00516.13
7.2.70.0180.01116.32
7.2.60.0170.00916.27
7.2.50.0220.00916.26
7.2.40.0130.00916.45
7.2.30.0530.00916.47
7.2.20.0480.00916.40
7.2.10.0400.00916.51
7.2.00.0380.00916.82
7.1.330.0160.00615.61
7.1.320.0120.00915.61
7.1.310.0100.01015.54
7.1.300.0070.01115.70
7.1.290.0140.00615.68
7.1.280.0130.00815.63
7.1.270.0120.00715.57
7.1.260.0180.00515.65
7.1.250.0100.01015.63
7.1.240.0160.01015.06
7.1.230.0170.01115.15
7.1.220.0240.00815.07
7.1.210.0260.00815.06
7.1.200.0220.00815.08
7.1.190.0220.00915.13
7.1.180.0240.00915.05
7.1.170.0260.00715.12
7.1.160.0320.00815.26
7.1.150.0470.01115.36
7.1.140.0480.01015.31
7.1.130.0410.00815.54
7.1.120.0500.01115.45
7.1.110.0390.00915.42
7.1.100.0430.00815.60
7.1.90.0440.01015.36
7.1.80.0390.00915.35
7.1.70.0360.01015.35
7.1.60.0350.01018.91
7.1.50.0370.00718.73
7.1.40.0330.00918.78
7.1.30.0340.00818.73
7.1.20.0300.00818.78
7.1.10.0270.00715.21
7.1.00.0270.00715.21
7.0.330.0220.00715.22
7.0.320.0720.00914.44
7.0.310.0370.00614.59
7.0.300.0280.01214.52
7.0.290.0290.01114.87
7.0.280.0300.01014.57
7.0.270.0620.00815.13
7.0.260.0600.01115.04
7.0.250.0500.01214.98
7.0.240.0580.00814.99
7.0.230.0560.01014.89
7.0.220.0590.00915.03
7.0.210.0560.01014.67
7.0.200.0410.00815.01
7.0.190.0390.00714.92
7.0.180.0370.00814.81
7.0.170.0330.00514.88
7.0.160.0290.00914.90
7.0.150.0320.00814.82
7.0.140.0360.00914.90
7.0.130.0270.01114.85
7.0.120.0490.00814.89
7.0.110.0370.01014.88
7.0.100.0340.00914.85
7.0.90.0320.00814.85
7.0.80.0310.00614.88
7.0.70.0290.01014.85
7.0.60.0660.00714.80
7.0.50.0300.01014.85
7.0.40.0300.00614.90
7.0.30.0310.00814.84
7.0.20.0300.00814.78
7.0.10.0290.00714.87
7.0.00.0290.00914.79
5.6.400.0190.01115.47
5.6.390.0180.01415.29
5.6.380.0180.00814.95
5.6.370.0200.00615.06
5.6.360.0150.01214.93
5.6.350.0140.01114.88
5.6.340.0160.01215.14
5.6.330.0150.01115.08
5.6.320.0200.00614.97
5.6.310.0150.01114.96
5.6.300.0150.02817.24
5.6.290.0140.02917.18
5.6.280.0120.03017.18
5.6.270.0140.02717.23
5.6.260.0100.03017.23
5.6.250.0120.02817.27
5.6.240.0140.02717.23
5.6.230.0160.02317.22
5.6.220.0150.02817.13
5.6.210.0150.02417.13
5.6.200.0160.02317.19
5.6.190.0120.02817.23
5.6.180.0130.02817.21
5.6.170.0140.02817.13
5.6.160.0130.02417.16
5.6.150.0130.02717.16
5.6.140.0150.02617.17
5.6.130.0140.02517.18
5.6.120.0130.02917.13
5.6.110.0120.02817.19
5.6.100.0100.03017.12
5.6.90.0110.02617.25
5.6.80.0130.02516.88
5.6.70.0140.02516.89
5.6.60.0130.02416.81
5.6.50.0130.02316.85
5.6.40.0150.02116.88
5.6.30.0120.02416.84
5.6.20.0100.03116.84
5.6.10.0130.02516.90
5.6.00.0120.02416.83
5.5.380.0150.02215.14
5.5.370.0110.02715.06
5.5.360.0120.02515.08
5.5.350.0120.02515.02
5.5.340.0130.02415.31
5.5.330.0130.02415.23
5.5.320.0120.02615.25
5.5.310.0100.03115.21
5.5.300.0110.02715.32
5.5.290.0100.02815.25
5.5.280.0110.02515.33
5.5.270.0100.02715.20
5.5.260.0150.02715.26
5.5.250.0110.02515.11
5.5.240.0120.02615.09
5.5.230.0120.02215.01
5.5.220.0120.02514.94
5.5.210.0120.02315.00
5.5.200.0130.02615.02
5.5.190.0110.02514.97
5.5.180.0110.02815.00
5.5.170.0180.00714.94
5.5.160.0150.02514.99
5.5.150.0100.02814.95
5.5.140.0110.03015.01
5.5.130.0150.02514.99
5.5.120.0110.02615.00
5.5.110.0130.02415.04
5.5.100.0120.02714.87
5.5.90.0110.02715.00
5.5.80.0110.02614.89
5.5.70.0150.02614.88
5.5.60.0120.02314.92
5.5.50.0130.02314.99
5.5.40.0170.02014.92
5.5.30.0130.02114.89
5.5.20.0130.02314.93
5.5.10.0110.02515.02
5.5.00.0100.02714.90
5.4.450.0120.02314.58
5.4.440.0110.02314.52
5.4.430.0090.02514.57
5.4.420.0100.02314.58
5.4.410.0120.02014.54
5.4.400.0100.02214.46
5.4.390.0110.02214.41
5.4.380.0100.02314.35
5.4.370.0110.02114.38
5.4.360.0100.02214.31
5.4.350.0120.02114.42
5.4.340.0120.02314.38
5.4.330.0120.00611.63
5.4.320.0120.02514.40
5.4.310.0090.02514.44
5.4.300.0110.02214.46
5.4.290.0120.02414.35
5.4.280.0130.02614.53
5.4.270.0100.02514.44
5.4.260.0100.03014.38
5.4.250.0100.02314.44
5.4.240.0080.02414.44
5.4.230.0120.02314.44
5.4.220.0110.02414.32
5.4.210.0100.02314.36
5.4.200.0110.02614.36
5.4.190.0100.02314.41
5.4.180.0100.02314.41
5.4.170.0110.02314.41
5.4.160.0120.02714.32
5.4.150.0100.02214.41
5.4.140.0110.02213.63
5.4.130.0100.02513.42
5.4.120.0100.02413.48
5.4.110.0110.02113.53
5.4.100.0100.02113.47
5.4.90.0110.02113.51
5.4.80.0080.02313.43
5.4.70.0120.02013.47
5.4.60.0090.02213.54
5.4.50.0120.02513.46
5.4.40.0130.02213.47
5.4.30.0100.02013.55
5.4.20.0120.01813.51
5.4.10.0100.02213.50
5.4.00.0070.02413.34
5.3.290.0120.02413.14
5.3.280.0090.02213.05
5.3.270.0140.02313.12
5.3.260.0110.02113.08
5.3.250.0110.02113.11
5.3.240.0100.02113.08
5.3.230.0100.03113.05
5.3.220.0120.01913.06
5.3.210.0130.02113.02
5.3.200.0110.02113.04
5.3.190.0120.01913.06
5.3.180.0090.02313.15
5.3.170.0120.02313.07
5.3.160.0110.02313.12
5.3.150.0120.02413.15
5.3.140.0090.02313.11
5.3.130.0120.02013.09
5.3.120.0080.02313.06
5.3.110.0110.02213.07
5.3.100.0100.02312.95
5.3.90.0110.02012.97
5.3.80.0090.02412.91
5.3.70.0110.02012.89
5.3.60.0130.02212.90
5.3.50.0090.02112.85
5.3.40.0090.02412.84
5.3.30.0090.02312.86
5.3.20.0110.02012.78
5.3.10.0120.02112.68
5.3.00.0110.02412.69
5.2.170.0080.02112.22
5.2.160.0080.02112.24
5.2.150.0090.02112.24
5.2.140.0080.02212.29
5.2.130.0080.02112.27
5.2.120.0100.01912.27
5.2.110.0100.02412.28
5.2.100.0090.02212.29
5.2.90.0070.02312.20
5.2.80.0070.02412.27
5.2.70.0100.02212.24
5.2.60.0070.02112.21
5.2.50.0100.01912.21
5.2.40.0080.02212.21
5.2.30.0080.02212.24
5.2.20.0080.02012.19
5.2.10.0080.02112.20
5.2.00.0080.01912.14
5.1.60.0050.01911.92
5.1.50.0070.01711.92
5.1.40.0060.01911.87
5.1.30.0090.02112.02
5.1.20.0070.01911.99
5.1.10.0090.01611.88
5.1.00.0080.01911.94
5.0.50.0060.01411.58
5.0.40.0070.01411.58
5.0.30.0070.02211.58
5.0.20.0080.01311.58
5.0.10.0100.01411.58
5.0.00.0070.02211.58
4.4.90.0040.01211.58
4.4.80.0050.01011.58
4.4.70.0070.00911.58
4.4.60.0050.01111.58
4.4.50.0030.01211.58
4.4.40.0050.01711.58
4.4.30.0030.01111.58
4.4.20.0030.01211.58
4.4.10.0050.01211.58
4.4.00.0020.01911.58
4.3.110.0050.01211.58
4.3.100.0040.01311.58
4.3.90.0040.01411.58
4.3.80.0030.01811.58
4.3.70.0040.01111.58
4.3.60.0040.01111.58
4.3.50.0050.01111.58
4.3.40.0050.01711.58
4.3.30.0040.01011.58
4.3.20.0020.01411.58
4.3.10.0030.01211.58
4.3.00.0020.01311.58

preferences:
74 ms | 403 KiB | 5 Q