3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(0=>1,1=>2); $check = true; unset($arr[0], $check); print_r($arr);

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.0060.00916.37
8.3.60.0130.00718.30
8.3.50.0130.00721.93
8.3.40.0040.01118.52
8.3.30.0180.00319.04
8.3.20.0040.00420.29
8.3.10.0040.00423.73
8.3.00.0050.00322.34
8.2.190.0060.00918.51
8.2.180.0070.00716.75
8.2.170.0140.00022.96
8.2.160.0140.00022.30
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00019.36
8.2.110.0060.00322.08
8.2.100.0040.00817.72
8.2.90.0060.00319.08
8.2.80.0030.00618.03
8.2.70.0040.00417.50
8.2.60.0030.00618.04
8.2.50.0060.00318.07
8.2.40.0070.00417.94
8.2.30.0050.00318.05
8.2.20.0000.00817.61
8.2.10.0040.00417.68
8.2.00.0040.00417.67
8.1.280.0040.01425.92
8.1.270.0070.00022.02
8.1.260.0080.00026.35
8.1.250.0100.00328.09
8.1.240.0000.00920.30
8.1.230.0100.00620.99
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.39
8.1.180.0050.00318.10
8.1.170.0040.00418.53
8.1.160.0040.00421.86
8.1.150.0030.00518.49
8.1.140.0040.00417.38
8.1.130.0030.00317.78
8.1.120.0040.00417.30
8.1.110.0050.00317.39
8.1.100.0030.00417.26
8.1.90.0030.00317.36
8.1.80.0040.00417.39
8.1.70.0000.00717.34
8.1.60.0000.00817.55
8.1.50.0100.00017.48
8.1.40.0000.00717.38
8.1.30.0000.00817.59
8.1.20.0040.00417.59
8.1.10.0040.00417.44
8.1.00.0040.00417.45
8.0.300.0040.00418.77
8.0.290.0030.00317.16
8.0.280.0030.00318.34
8.0.270.0040.00417.18
8.0.260.0060.00016.71
8.0.250.0030.00316.92
8.0.240.0030.00316.89
8.0.230.0060.00016.88
8.0.220.0040.00816.80
8.0.210.0070.00016.83
8.0.200.0000.00616.86
8.0.190.0040.00416.78
8.0.180.0040.00416.81
8.0.170.0090.00016.78
8.0.160.0000.00716.71
8.0.150.0030.00316.78
8.0.140.0080.00016.79
8.0.130.0030.00313.30
8.0.120.0050.00316.80
8.0.110.0030.00416.88
8.0.100.0040.00416.71
8.0.90.0040.00316.68
8.0.80.0030.01216.75
8.0.70.0000.00816.83
8.0.60.0000.00716.79
8.0.50.0040.00416.77
8.0.30.0100.00916.90
8.0.20.0100.00917.40
8.0.10.0040.00416.99
8.0.00.0110.01016.71
7.4.330.0050.00015.04
7.4.320.0000.00616.52
7.4.300.0070.00016.60
7.4.290.0000.00716.52
7.4.280.0000.00716.48
7.4.270.0050.00216.57
7.4.260.0030.00516.42
7.4.250.0030.00516.36
7.4.240.0030.00416.54
7.4.230.0030.00316.25
7.4.220.0100.00616.53
7.4.210.0130.00316.62
7.4.200.0030.00316.34
7.4.190.0030.00316.31
7.4.160.0140.00316.45
7.4.150.0100.00717.40
7.4.140.0100.01017.86
7.4.130.0070.01016.48
7.4.120.0100.00816.55
7.4.110.0070.01016.54
7.4.100.0030.01416.56
7.4.90.0090.00916.46
7.4.80.0060.01016.54
7.4.70.0110.01416.31
7.4.60.0100.00616.67
7.4.50.0040.00416.41
7.4.40.0030.01322.77
7.4.30.0000.01716.23
7.4.00.0080.01014.78
7.3.330.0000.00512.94
7.3.320.0030.00313.04
7.3.310.0030.00316.20
7.3.300.0070.00016.11
7.3.290.0100.00316.24
7.3.280.0070.01116.23
7.3.270.0080.00817.40
7.3.260.0070.01016.53
7.3.250.0080.01216.31
7.3.240.0060.01216.44
7.3.230.0000.01516.39
7.3.210.0070.01016.31
7.3.200.0090.01319.39
7.3.190.0030.01216.20
7.3.180.0090.00616.14
7.3.170.0150.00616.42
7.3.160.0060.01016.52
7.3.120.0070.00914.78
7.3.110.0070.01214.81
7.3.100.0070.00914.70
7.3.90.0030.00814.90
7.3.80.0080.00514.66
7.3.70.0060.00914.61
7.3.60.0060.00814.63
7.3.50.0090.00314.65
7.3.40.0070.00714.67
7.3.30.0020.01014.64
7.3.20.0060.00716.65
7.3.10.0080.00416.50
7.3.00.0050.00716.59
7.2.330.0160.00316.67
7.2.320.0070.01016.62
7.2.310.0060.01616.49
7.2.300.0060.00916.57
7.2.290.0090.00616.50
7.2.250.0110.00814.81
7.2.240.0080.01115.01
7.2.230.0030.01214.73
7.2.220.0040.01114.99
7.2.210.0020.01514.87
7.2.200.0090.00114.90
7.2.190.0100.00514.77
7.2.180.0040.00914.96
7.2.170.0090.00514.86
7.2.160.0060.00914.87
7.2.150.0050.00516.67
7.2.140.0030.00916.82
7.2.130.0120.00316.65
7.2.120.0030.00716.73
7.2.110.0100.00616.65
7.2.100.0040.01116.45
7.2.90.0040.00816.82
7.2.80.0040.01116.84
7.2.70.0000.01516.71
7.2.60.0030.00916.54
7.2.50.0030.01016.65
7.2.40.0040.01216.58
7.2.30.0090.00316.61
7.2.20.0090.00616.95
7.2.10.0080.00416.91
7.2.00.0020.01118.08
7.1.330.0070.00815.61
7.1.320.0040.00615.63
7.1.310.0050.01015.71
7.1.300.0060.00915.72
7.1.290.0100.00515.79
7.1.280.0080.00715.75
7.1.270.0050.00815.64
7.1.260.0040.01015.77
7.1.250.0040.01115.80
7.1.240.0000.01415.85
7.1.230.0000.01415.74
7.1.220.0030.00815.78
7.1.210.0000.00915.83
7.1.200.0020.00815.88
7.1.190.0030.00915.70
7.1.180.0090.00015.79
7.1.170.0030.01015.90
7.1.160.0040.00715.85
7.1.150.0030.00715.65
7.1.140.0100.00315.52
7.1.130.0070.00715.92
7.1.120.0110.00315.79
7.1.110.0070.00715.91
7.1.100.0090.00317.08
7.1.90.0040.00815.47
7.1.80.0120.00315.72
7.1.70.0060.00616.30
7.1.60.0030.01517.56
7.1.50.0070.00416.38
7.1.40.0070.00715.97
7.1.30.0070.01015.80
7.1.20.0070.01015.84
7.1.10.0120.00315.69
7.1.00.0020.04519.03
7.0.330.0100.00015.34
7.0.320.0000.01115.36
7.0.310.0080.00415.16
7.0.300.0080.00415.54
7.0.290.0000.00915.19
7.0.280.0070.00715.57
7.0.270.0040.01115.39
7.0.260.0040.01215.41
7.0.250.0040.01115.51
7.0.240.0080.00315.46
7.0.230.0080.00415.09
7.0.220.0090.00315.58
7.0.210.0040.01115.54
7.0.200.0050.01016.10
7.0.190.0120.00315.20
7.0.180.0000.01015.51
7.0.170.0070.00715.53
7.0.160.0030.00915.41
7.0.150.0100.00315.15
7.0.140.0050.03818.69
7.0.130.0080.00415.26
7.0.120.0060.00615.49
7.0.110.0040.00815.54
7.0.100.0060.00315.09
7.0.90.0000.01215.59
7.0.80.0030.00615.13
7.0.70.0060.00315.34
7.0.60.0070.04417.73
7.0.50.0070.04116.65
7.0.40.0100.03016.90
7.0.30.0130.04216.92
7.0.20.0220.04016.78
7.0.10.0090.02416.85
7.0.00.0060.02316.89
5.6.400.0100.00314.46
5.6.390.0040.00414.27
5.6.380.0090.00314.00
5.6.370.0040.00414.16
5.6.360.0090.00614.54
5.6.350.0120.00314.29
5.6.340.0040.01114.52
5.6.330.0040.00714.59
5.6.320.0110.00714.39
5.6.310.0060.00914.63
5.6.300.0030.00614.20
5.6.290.0040.01014.04
5.6.280.0080.03817.43
5.6.270.0100.00314.41
5.6.260.0070.00714.52
5.6.250.0040.00714.16
5.6.240.0030.00914.36
5.6.230.0070.00414.47
5.6.220.0150.00014.37
5.6.210.0100.02117.42
5.6.200.0030.02516.03
5.6.190.0070.04117.37
5.6.180.0220.02517.39
5.6.170.0170.02517.54
5.6.160.0100.03817.26
5.6.150.0040.04116.22
5.6.140.0130.03716.30
5.6.130.0050.04716.31
5.6.120.0080.02517.51
5.6.110.0110.04017.63
5.6.100.0070.04617.70
5.6.90.0100.03517.52
5.6.80.0080.04217.46
5.6.70.2300.01817.23
5.6.60.0060.00614.49
5.6.50.0090.00413.91
5.6.40.0080.00414.05
5.6.30.0070.00714.28
5.6.20.0030.01014.54
5.6.10.0070.00713.96
5.6.00.0080.00414.18
5.5.380.0040.00814.28
5.5.370.0050.00514.34
5.5.360.0040.01114.43
5.5.350.0030.02617.36
5.5.340.0030.02916.13
5.5.330.0050.05017.31
5.5.320.0050.02417.32
5.5.310.0180.04017.18
5.5.300.0030.03216.10
5.5.290.0050.02616.09
5.5.280.0090.04017.54
5.5.270.0070.03317.39
5.5.260.0030.05117.60
5.5.250.0040.04217.49
5.5.240.0100.03617.25
5.5.230.0030.01014.07
5.5.220.0030.00613.89
5.5.210.0040.00714.07
5.5.200.0040.00414.04
5.5.190.0000.01114.21
5.5.180.0050.00513.88
5.5.170.0060.00614.38
5.5.160.0030.01014.13
5.5.150.0070.00714.29
5.5.140.0030.01014.13
5.5.130.0030.01214.03
5.5.120.0120.00014.03
5.5.110.0030.00714.14
5.5.100.0100.00314.13
5.5.90.0030.00614.26
5.5.80.0120.00614.38
5.5.70.0060.00914.05
5.5.60.0090.00314.13
5.5.50.0030.01014.18
5.5.40.0070.00714.06
5.5.30.0040.01114.30
5.5.20.0040.01113.99
5.5.10.0090.00014.00
5.5.00.0000.01213.95
5.4.450.1900.02215.90
5.4.440.1870.02315.88
5.4.430.2000.02215.97
5.4.420.1930.02715.92
5.4.410.1980.02115.83
5.4.400.1800.02315.74
5.4.390.1800.02315.74
5.4.380.2000.02015.61
5.4.370.1820.02015.63
5.4.360.1700.02215.63
5.4.350.1880.02315.72
5.4.340.1980.02015.63
5.4.330.0040.00712.28
5.4.320.2100.02815.71
5.4.310.2140.02315.67
5.4.300.1870.02315.72
5.4.290.2040.01815.63
5.4.280.1540.02115.57
5.4.270.1850.02615.71
5.4.260.2020.02115.68
5.4.250.2180.02115.76
5.4.240.1900.02115.65
5.4.230.1080.02315.68
5.4.220.1920.02215.57
5.4.210.1720.01715.71
5.4.200.1750.02415.76
5.4.190.1690.02415.61
5.4.180.1580.02515.71
5.4.170.1480.01815.75
5.4.160.1930.02115.66
5.4.150.1950.02215.74
5.4.140.1930.02514.39
5.4.130.2150.02314.39
5.4.120.2030.02414.29
5.4.110.1850.02514.41
5.4.100.2080.01714.42
5.4.90.0070.02114.42
5.4.80.0850.02614.41
5.4.70.2240.02014.31
5.4.60.1950.02214.31
5.4.50.2080.02214.40
5.4.40.1730.02214.26
5.4.30.1850.02514.40
5.4.20.1930.02314.35
5.4.10.1880.01514.38
5.4.00.1970.02014.20
5.3.290.2120.02613.46
5.3.280.1500.01913.39
5.3.270.1830.02413.39
5.3.260.1870.02313.45
5.3.250.1810.02313.44
5.3.240.2050.02613.46
5.3.230.2000.02013.39
5.3.220.2080.02713.42
5.3.210.1950.02013.46
5.3.200.1930.02213.44
5.3.190.0050.04013.38
5.3.180.0070.03813.46
5.3.170.2210.02313.40
5.3.160.2080.02113.45
5.3.150.1960.02213.37
5.3.140.1950.02413.45
5.3.130.2130.01813.50
5.3.120.1550.02413.41
5.3.110.1980.02013.40
5.3.100.1990.02213.12
5.3.90.1950.02213.10
5.3.80.1900.02013.19
5.3.70.1850.02213.16
5.3.60.0180.03613.20
5.3.50.0120.03413.13
5.3.40.1630.02313.19
5.3.30.2190.02013.12
5.3.20.1800.02112.93
5.3.10.1870.02212.97
5.3.00.2050.01813.01
5.2.170.0030.05711.05
5.2.160.0500.05011.12
5.2.150.3130.02711.38
5.2.140.3230.03311.36
5.2.130.3000.03311.00
5.2.120.3330.02011.10
5.2.110.3270.03011.02
5.2.100.3000.02711.17
5.2.90.3600.02311.02
5.2.80.3370.03311.21
5.2.70.3230.02011.01
5.2.60.3270.02711.16
5.2.50.3130.03010.91
5.2.40.2670.03010.90
5.2.30.2470.02710.89
5.2.20.2730.02710.95
5.2.10.3200.02711.07
5.2.00.3070.03010.63
5.1.60.2870.03010.39
5.1.50.2470.02310.39
5.1.40.3100.02710.39
5.1.30.2370.03010.39
5.1.20.2670.02310.39
5.1.10.2500.02710.39
5.1.00.2630.03010.39
5.0.50.1230.01710.39
5.0.40.1530.01710.39
5.0.30.1570.03710.39
5.0.20.1500.02310.39
5.0.10.1400.02710.39
5.0.00.1200.03010.39
4.4.90.1470.01710.39
4.4.80.1500.01710.39
4.4.70.1300.01310.39
4.4.60.1330.01010.39
4.4.50.1530.01710.39
4.4.40.1500.02010.39
4.4.30.1770.01710.39
4.4.20.1430.02010.39
4.4.10.1570.01710.39
4.4.00.1470.02710.39
4.3.110.1430.02010.39
4.3.100.1530.01310.39
4.3.90.1130.01310.39
4.3.80.1500.02710.39
4.3.70.1270.01710.39
4.3.60.1430.01710.39
4.3.50.1530.01710.39
4.3.40.1430.02310.39
4.3.30.0700.01310.39
4.3.20.0570.01710.39
4.3.10.0670.01710.39
4.3.00.0730.01710.39

preferences:
49.78 ms | 401 KiB | 5 Q