3v4l.org

run code in 300+ PHP versions simultaneously
<?php $queue = array("Taeyeon","NAN"); array_unshift($aueue,"Boram","Jessica"); print_r($queue); ?>

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.0180.00418.14
8.3.60.0110.00318.52
8.3.50.0080.01421.98
8.3.40.0070.01418.80
8.3.30.0150.00619.04
8.3.20.0070.00720.04
8.3.10.0040.00420.48
8.3.00.0080.00019.80
8.2.180.0120.00616.75
8.2.170.0150.00022.96
8.2.160.0100.00322.08
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0000.00722.09
8.2.110.0060.00322.08
8.2.100.0070.00417.91
8.2.90.0000.00819.14
8.2.80.0030.00517.97
8.2.70.0080.00017.63
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0030.00618.03
8.2.30.0000.00719.29
8.2.20.0000.00817.60
8.2.10.0040.00417.92
8.2.00.0050.00317.60
8.1.280.0140.00025.92
8.1.270.0040.00423.59
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0090.00023.79
8.1.230.0070.00719.16
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00917.36
8.1.190.0030.00617.23
8.1.180.0030.00518.10
8.1.170.0050.00318.53
8.1.160.0040.00422.00
8.1.150.0050.00318.88
8.1.140.0040.00417.43
8.1.130.0030.00317.88
8.1.120.0030.00417.40
8.1.110.0040.00417.38
8.1.100.0070.00017.39
8.1.90.0040.00417.31
8.1.80.0030.00317.24
8.1.70.0000.00717.27
8.1.60.0040.00417.42
8.1.50.0060.00317.55
8.1.40.0000.00717.41
8.1.30.0040.00417.59
8.1.20.0080.00017.66
8.1.10.0040.00417.58
8.1.00.0030.00617.39
8.0.300.0030.00318.77
8.0.290.0040.00416.75
8.0.280.0030.00318.28
8.0.270.0070.00017.19
8.0.260.0040.00418.36
8.0.250.0070.00016.82
8.0.240.0000.00616.88
8.0.230.0040.00416.91
8.0.220.0040.00416.75
8.0.210.0030.00316.78
8.0.200.0070.00016.85
8.0.190.0070.00016.95
8.0.180.0030.00516.88
8.0.170.0000.00716.91
8.0.160.0030.00516.76
8.0.150.0070.00016.83
8.0.140.0030.00416.88
8.0.130.0050.00013.32
8.0.120.0040.00416.88
8.0.110.0040.00416.78
8.0.100.0040.00316.87
8.0.90.0030.00417.00
8.0.80.0100.00716.90
8.0.70.0020.00516.87
8.0.60.0070.00016.76
8.0.50.0030.00516.67
8.0.30.0090.00916.96
8.0.20.0100.01017.40
8.0.10.0040.00416.89
8.0.00.0060.01216.73
7.4.330.0000.00515.00
7.4.320.0060.00016.50
7.4.300.0000.00616.34
7.4.290.0000.00816.52
7.4.280.0030.00616.38
7.4.270.0040.00416.38
7.4.260.0030.00316.55
7.4.250.0000.00816.44
7.4.240.0040.00316.48
7.4.230.0040.00416.27
7.4.220.0060.01316.47
7.4.210.0040.01316.42
7.4.200.0030.00316.27
7.4.160.0040.01116.53
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0050.01116.56
7.4.120.0090.00816.37
7.4.110.0030.01316.18
7.4.100.0060.01216.45
7.4.90.0120.00916.46
7.4.80.0110.00616.51
7.4.70.0110.00616.22
7.4.60.0120.00616.50
7.4.50.0040.00416.56
7.4.40.0130.00316.46
7.4.30.0100.00716.41
7.4.00.0080.00814.86
7.3.330.0050.00013.03
7.3.320.0020.00212.93
7.3.310.0070.00016.20
7.3.300.0030.00316.03
7.3.290.0070.00716.18
7.3.280.0080.00716.22
7.3.270.0050.01317.40
7.3.260.0090.00816.22
7.3.250.0070.01116.13
7.3.240.0170.00016.12
7.3.230.0100.00616.39
7.3.210.0100.01016.24
7.3.200.0090.01219.39
7.3.190.0080.01116.43
7.3.180.0060.01216.23
7.3.170.0110.01116.27
7.3.160.0100.00616.59
7.3.120.0030.01314.84
7.3.110.0040.01214.50
7.3.100.0070.00714.64
7.3.90.0090.00614.95
7.3.80.0060.00814.50
7.3.70.0070.00714.87
7.3.60.0060.00814.46
7.3.50.0120.00614.81
7.3.40.0080.00814.82
7.3.30.0090.00314.61
7.3.20.0090.00316.50
7.3.10.0070.00416.35
7.3.00.0080.00516.35
7.2.330.0030.01516.16
7.2.320.0120.00616.58
7.2.310.0100.00716.33
7.2.300.0150.00316.57
7.2.290.0100.00616.46
7.2.250.0130.00314.92
7.2.240.0040.01415.01
7.2.230.0040.00714.53
7.2.220.0070.00314.97
7.2.210.0120.00614.97
7.2.200.0100.00314.88
7.2.190.0040.01114.93
7.2.180.0120.00614.79
7.2.170.0130.00314.53
7.2.130.0080.00616.73
7.2.120.0070.00316.10
7.2.110.0130.00516.22
7.2.100.0040.00716.47
7.2.90.0060.00916.35
7.2.80.0080.01116.41
7.2.70.0110.00616.17
7.2.60.0170.00016.39
7.2.50.0020.01316.50
7.2.40.0130.00616.15
7.2.30.0080.00816.53
7.2.20.0080.00816.26
7.2.10.0090.00616.56
7.2.00.0080.00417.86
7.1.330.0100.00715.84
7.1.320.0040.00715.70
7.1.310.0100.00615.68
7.1.300.0030.01315.66
7.1.290.0070.01015.78
7.1.280.0030.00915.82
7.1.270.0040.01115.62
7.1.260.0040.00415.61
7.1.250.0040.00715.46
7.1.100.0880.00716.14
7.1.70.0060.00316.95
7.1.60.0110.01419.32
7.1.50.0070.01016.95
7.1.00.0030.07722.30
7.0.200.0020.00516.70
7.0.140.0030.07322.15
7.0.60.0030.06019.99
7.0.50.0070.06717.91
7.0.40.0100.09020.18
7.0.30.0270.06720.15
7.0.20.0300.07320.33
7.0.10.0170.07720.16
7.0.00.0130.06020.13
5.6.280.0070.07020.90
5.6.210.0130.06320.47
5.6.200.0130.07718.16
5.6.190.0170.07320.57
5.6.180.0500.06720.57
5.6.170.0430.04020.55
5.6.160.0130.05320.44
5.6.150.0100.07018.12
5.6.140.0070.08318.28
5.6.130.0100.03718.21
5.6.120.0070.08320.87
5.6.110.0070.08020.95
5.6.100.0100.03320.97
5.6.90.0100.08020.96
5.6.80.0070.08020.36
5.5.350.0130.04720.43
5.5.340.0030.03718.09
5.5.330.0170.06720.36
5.5.320.0330.08020.23
5.5.310.0200.05720.39
5.5.300.0100.07318.08
5.5.290.0070.05017.93
5.5.280.0030.07320.89
5.5.270.0100.08020.82
5.5.260.0030.07320.75
5.5.250.0070.06720.65
5.5.240.0170.05320.02
5.4.450.0300.05719.61
5.4.440.0730.05719.55
5.4.430.0800.05319.47
5.4.420.1000.05019.47
5.4.410.0170.07019.39
5.4.400.0630.06319.01
5.4.390.1100.06019.15
5.4.380.0330.06018.74
5.4.370.0370.06718.75
5.4.360.0470.05318.46
5.4.350.0430.05318.84
5.4.340.0300.06018.46
5.4.320.0060.04012.48
5.4.310.0100.03312.47
5.4.300.0060.04012.48
5.4.290.0030.04012.47
5.4.280.0030.03712.38
5.4.270.0080.03412.37
5.4.260.0110.03312.37
5.4.250.0070.03512.38
5.4.240.0040.03712.37
5.4.230.0070.04212.37
5.4.220.0030.03712.36
5.4.210.0050.03712.37
5.4.200.0060.04212.36
5.4.190.0060.03612.36
5.4.180.0030.03812.36
5.4.170.0080.04312.38
5.4.160.0060.03512.37
5.4.150.0050.03612.37
5.4.140.0080.03512.05
5.4.130.0060.03612.04
5.4.120.0040.03612.00
5.4.110.0090.03911.99
5.4.100.0070.03311.99
5.4.90.0080.03311.99
5.4.80.0060.03612.00
5.4.70.0060.04111.98
5.4.60.0070.03311.99
5.4.50.0070.03511.99
5.4.40.0050.03411.98
5.4.30.0080.04311.98
5.4.20.0080.03911.97
5.4.10.0050.03511.97
5.4.00.0050.04211.47
5.3.290.0050.04012.80
5.3.280.0050.03912.70
5.3.270.0050.03912.72
5.3.260.0090.04012.72
5.3.250.0050.03812.72
5.3.240.0050.04112.71
5.3.230.0070.03512.71
5.3.220.0090.04012.68
5.3.210.0150.04112.68
5.3.200.0070.03812.68
5.3.190.0040.04012.68
5.3.180.0070.03512.67
5.3.170.0050.03612.67
5.3.160.0050.04212.67
5.3.150.0110.03712.68
5.3.140.0050.03612.66
5.3.130.0060.04412.66
5.3.120.0030.04112.66
5.3.110.0080.03612.66
5.3.100.0060.03612.12
5.3.90.0060.03512.09
5.3.80.0060.03512.09
5.3.70.0050.03612.07
5.3.60.0120.03312.06
5.3.50.0070.03512.01
5.3.40.0050.04412.01
5.3.30.0070.03911.97
5.3.20.0040.03711.75
5.3.10.0050.03511.72
5.3.00.0060.03611.70
5.2.170.0020.0339.20
5.2.160.0060.0289.21
5.2.150.0060.0409.20
5.2.140.0070.0379.20
5.2.130.0030.0309.16
5.2.120.0020.0329.16
5.2.110.0040.0309.17
5.2.100.0040.0329.17
5.2.90.0030.0319.17
5.2.80.0040.0319.16
5.2.70.0060.0379.16
5.2.60.0030.0319.11
5.2.50.0040.0309.08
5.2.40.0080.0259.05
5.2.30.0050.0379.04
5.2.20.0090.0289.03
5.2.10.0050.0288.93
5.2.00.0040.0298.79
5.1.60.0030.0258.06
5.1.50.0030.0258.05
5.1.40.0040.0248.04
5.1.30.0020.0288.39
5.1.20.0080.0238.41
5.1.10.0040.0268.14
5.1.00.0050.0258.14
5.0.50.0040.0206.61
5.0.40.0030.0196.47
5.0.30.0050.0306.29
5.0.20.0040.0216.26
5.0.10.0030.0206.23
5.0.00.0040.0336.22
4.4.90.0050.0154.77
4.4.80.0030.0244.75
4.4.70.0020.0164.75
4.4.60.0030.0144.76
4.4.50.0020.0154.77
4.4.40.0050.0284.71
4.4.30.0040.0194.76
4.4.20.0010.0174.85
4.4.10.0040.0204.85
4.4.00.0060.0264.76
4.3.110.0030.0154.67
4.3.100.0010.0174.66
4.3.90.0030.0144.64
4.3.80.0020.0254.58
4.3.70.0030.0194.63
4.3.60.0030.0214.63
4.3.50.0050.0194.63
4.3.40.0030.0274.54
4.3.30.0030.0143.28
4.3.20.0030.0163.26
4.3.10.0020.0153.21
4.3.00.0070.0236.79

preferences:
36.07 ms | 401 KiB | 5 Q