3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = new SplDoublyLinkedList(); $list->push('a'); $list->push('b'); $list->push('c'); $list->push('d'); $list->rewind(); $list->next(); $list->next(); $list->next(); var_dump($list->current());

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.0070.00716.50
8.3.50.0090.01022.05
8.3.40.0140.00718.72
8.3.30.0140.00318.96
8.3.20.0040.00420.27
8.3.10.0070.00021.77
8.3.00.0040.00419.12
8.2.180.0140.00416.38
8.2.170.0110.00418.82
8.2.160.0100.00722.96
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00019.64
8.2.110.0030.00620.31
8.2.100.0030.00918.22
8.2.90.0000.01019.05
8.2.80.0060.00317.97
8.2.70.0030.01017.25
8.2.60.0040.00417.93
8.2.50.0090.00018.07
8.2.40.0040.00418.16
8.2.30.0000.00818.00
8.2.20.0040.00417.53
8.2.10.0000.00818.11
8.2.00.0000.00717.60
8.1.280.0100.01025.92
8.1.270.0090.00018.73
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0050.00322.19
8.1.230.0090.00319.16
8.1.220.0080.00017.79
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0000.00818.53
8.1.160.0000.00821.93
8.1.150.0060.00318.78
8.1.140.0000.00717.44
8.1.130.0000.00817.83
8.1.120.0070.00017.29
8.1.110.0040.00417.40
8.1.100.0040.00417.44
8.1.90.0000.00717.40
8.1.80.0050.00317.39
8.1.70.0030.00317.41
8.1.60.0070.00317.54
8.1.50.0040.00417.39
8.1.40.0000.00717.50
8.1.30.0000.00817.58
8.1.20.0060.00517.60
8.1.10.0040.00417.47
8.1.00.0040.00817.46
8.0.300.0040.00418.77
8.0.290.0100.00016.63
8.0.280.0000.00718.29
8.0.270.0000.00717.27
8.0.260.0000.00717.33
8.0.250.0040.00416.84
8.0.240.0040.00416.83
8.0.230.0030.00316.77
8.0.220.0040.00416.84
8.0.210.0070.00016.88
8.0.200.0030.00316.90
8.0.190.0000.00816.89
8.0.180.0040.00416.78
8.0.170.0050.00316.84
8.0.160.0000.00716.73
8.0.150.0080.00016.63
8.0.140.0030.00716.68
8.0.130.0050.00313.32
8.0.120.0000.00816.76
8.0.110.0000.00716.90
8.0.100.0000.00816.82
8.0.90.0030.00316.78
8.0.80.0120.00316.77
8.0.70.0000.00716.83
8.0.60.0030.00616.72
8.0.50.0050.00316.76
8.0.30.0170.00916.81
8.0.20.0100.01217.40
8.0.10.0070.00016.78
8.0.00.0160.00516.79
7.4.330.0030.00315.03
7.4.320.0060.00016.57
7.4.300.0000.00616.45
7.4.290.0030.00316.58
7.4.280.0000.00816.43
7.4.270.0000.00716.43
7.4.260.0070.00416.43
7.4.250.0030.00316.36
7.4.240.0040.00316.50
7.4.230.0070.00016.57
7.4.220.0060.01216.51
7.4.210.0090.01216.49
7.4.200.0000.00716.61
7.4.160.0090.00616.26
7.4.150.0140.01017.40
7.4.140.0100.00917.86
7.4.130.0110.00616.39
7.4.120.0060.01216.42
7.4.110.0140.00316.32
7.4.100.0100.00616.45
7.4.90.0130.00316.45
7.4.80.0140.00319.39
7.4.70.0080.00816.19
7.4.60.0070.00716.33
7.4.50.0060.00016.34
7.4.40.0070.01616.42
7.4.30.0070.01216.45
7.4.00.0110.00614.82
7.3.330.0030.00312.95
7.3.320.0020.00312.96
7.3.310.0030.00316.21
7.3.300.0030.00316.18
7.3.290.0120.00416.17
7.3.280.0100.00816.16
7.3.270.0110.00717.40
7.3.260.0180.00016.15
7.3.250.0110.00816.23
7.3.240.0080.01116.31
7.3.230.0080.01116.39
7.3.210.0100.00716.46
7.3.200.0130.00319.39
7.3.190.0130.00316.13
7.3.180.0070.01016.16
7.3.170.0090.00916.27
7.3.160.0100.00716.50
7.3.120.0070.01114.63
7.3.110.0090.00914.36
7.3.100.0090.00914.96
7.3.90.0100.00714.72
7.3.80.0060.01014.72
7.3.70.0070.01014.68
7.3.60.0030.01314.79
7.3.50.0070.00714.64
7.3.40.0030.00714.60
7.3.30.0070.00714.65
7.3.20.0070.00716.22
7.3.10.0030.01016.62
7.3.00.0090.00616.40
7.2.330.0070.01016.35
7.2.320.0060.01116.40
7.2.310.0130.00316.40
7.2.300.0100.00716.33
7.2.290.0090.00916.67
7.2.250.0100.01014.96
7.2.240.0070.01415.05
7.2.230.0090.00614.81
7.2.220.0070.00714.88
7.2.210.0110.00614.79
7.2.200.0030.01014.95
7.2.190.0030.01315.00
7.2.180.0120.00314.71
7.2.170.0030.01014.58
7.2.00.0030.01019.18
7.1.330.0040.01115.82
7.1.320.0060.00915.60
7.1.310.0080.00615.58
7.1.300.0060.01015.62
7.1.290.0070.00715.55
7.1.280.0060.00815.54
7.1.270.0030.00615.50
7.1.260.0000.01315.41
7.1.100.0080.00817.72
7.1.70.0000.00816.75
7.1.60.0030.02019.46
7.1.50.0100.01316.86
7.1.00.0030.07022.30
7.0.200.0320.00314.84
7.0.140.0000.07322.09
7.0.60.0100.08320.08
7.0.50.0030.05317.89
7.0.40.0070.09020.40
7.0.30.0370.06020.28
7.0.20.0370.05720.12
7.0.10.0000.04720.02
7.0.00.0030.04320.29
5.6.280.0070.06720.90
5.6.210.0070.08720.77
5.6.200.0070.08318.19
5.6.190.0030.08020.58
5.6.180.0430.07720.49
5.6.170.0370.08020.62
5.6.160.0200.07020.61
5.6.150.0070.07718.11
5.6.140.0030.05018.18
5.6.130.0030.08318.15
5.6.120.0030.08321.13
5.6.110.0030.04321.09
5.6.100.0030.07020.96
5.6.90.0200.06721.18
5.6.80.0130.07720.52
5.5.350.0270.06720.38
5.5.340.0030.08317.88
5.5.330.0030.08320.46
5.5.320.0430.07320.20
5.5.310.0230.08020.30
5.5.300.0130.07318.00
5.5.290.0100.07017.97
5.5.280.0230.05720.98
5.5.270.0100.06320.76
5.5.260.0030.08320.76
5.5.250.0030.09020.70
5.5.240.0030.04320.28
5.4.450.4300.04019.48
5.4.440.0070.05719.37
5.4.430.1500.03319.28
5.4.420.4470.03719.33
5.4.410.3830.04719.35
5.4.400.3970.03719.11
5.4.390.3600.03719.24
5.4.380.4030.03319.16
5.4.370.3870.03719.07
5.4.360.3830.04319.04
5.4.350.3670.03319.13
5.4.340.3700.03718.86
5.4.320.3670.04319.00
5.4.310.3630.04019.04
5.4.300.3430.03318.96
5.4.290.3630.04019.08
5.4.280.3600.04019.05
5.4.270.3600.04319.14
5.4.260.2770.03718.89
5.4.250.3970.04019.12
5.4.240.3970.03318.86
5.4.230.3630.03719.07
5.4.220.3930.03719.12
5.4.210.4030.03318.95
5.4.200.3770.04018.85
5.4.190.3900.04019.00
5.4.180.4070.03319.05
5.4.170.5230.04019.18
5.4.160.3870.03319.16
5.4.150.3930.03719.16
5.4.140.3870.04016.10
5.4.130.3570.02316.21
5.4.120.3800.04016.38
5.4.110.3870.04016.38
5.4.100.3930.03716.47
5.4.90.3970.03316.33
5.4.80.3970.04016.44
5.4.70.3900.04016.55
5.4.60.3870.03716.13
5.4.50.3900.03716.47
5.4.40.3670.03316.31
5.4.30.3870.03716.13
5.4.20.3870.03716.36
5.4.10.3630.03316.33
5.4.00.3600.03315.66
5.3.290.3600.04314.64
5.3.280.3870.04314.61
5.3.270.3800.03714.57
5.3.260.3900.04014.56
5.3.250.3930.04014.55
5.3.240.3830.04314.62
5.3.230.4170.04314.52
5.3.220.3970.03314.49
5.3.210.4070.03714.49
5.3.200.4000.03314.51
5.3.190.5030.04014.44
5.3.180.3930.03714.49
5.3.170.3500.03314.51
5.3.160.4030.03314.48
5.3.150.3670.03314.49
5.3.140.3930.03714.48
5.3.130.3930.03714.50
5.3.120.3930.03714.37
5.3.110.3830.04314.36
5.3.100.3600.03713.99
5.3.90.3600.03713.96
5.3.80.3870.03713.98
5.3.70.3830.03014.03
5.3.60.3730.03713.93
5.3.50.3670.03313.73
5.3.40.3630.03013.77
5.3.30.4230.04713.75
5.3.20.3870.04313.63
5.3.10.3700.03713.63
5.3.00.3630.03313.61
5.2.170.3070.02311.30
5.2.160.3030.03011.22
5.2.150.2970.03011.15
5.2.140.3300.02711.06
5.2.130.4370.02711.03
5.2.120.3200.03310.96
5.2.110.3300.03011.18
5.2.100.3300.02711.04
5.2.90.3270.03010.98
5.2.80.3400.03011.10
5.2.70.3500.03710.91
5.2.60.3270.03011.04
5.2.50.3100.02710.91
5.2.40.2470.02710.87
5.2.30.2400.03310.87
5.2.20.2700.03010.89
5.2.10.2000.03010.84
5.2.00.2400.03010.70
5.1.60.0000.0309.98
5.1.50.0070.02710.05
5.1.40.0070.04710.00
5.1.30.0070.04310.34
5.1.20.2270.02710.38
5.1.10.3170.02310.07
5.1.00.3130.02710.01
5.0.50.1700.0238.56
5.0.40.1770.0208.39
5.0.30.1430.0308.37
5.0.20.1770.0178.18
5.0.10.1830.0238.13
5.0.00.2100.0278.16
4.4.90.1300.0175.85
4.4.80.1200.0135.86
4.4.70.1430.0205.77
4.4.60.1400.0175.86
4.4.50.1430.0205.83
4.4.40.0030.0535.78
4.4.30.0000.0405.80
4.4.20.1730.0175.82
4.4.10.1670.0175.85
4.4.00.1830.0235.82
4.3.110.1700.0175.73
4.3.100.1670.0135.81
4.3.90.1770.0205.67
4.3.80.2000.0305.74
4.3.70.1570.0175.70
4.3.60.1470.0175.80
4.3.50.1370.0135.80
4.3.40.1400.0305.64
4.3.30.0700.0235.37
4.3.20.0730.0205.37
4.3.10.0730.0205.37
4.3.00.0800.0235.37

preferences:
33.82 ms | 401 KiB | 5 Q