3v4l.org

run code in 300+ PHP versions simultaneously
<?php function enqueue_timer($arr_timer_struct) { $timers = [1,2,4,56]; $flt_execute_time = $arr_timer_struct; for ($int_i = count($timers) - 1; $int_i >= 0; $int_i--) { if ($timers[$int_i] && $timers[$int_i] > $flt_execute_time) { break; } } array_splice($timers, $int_i, 0, [$arr_timer_struct]); var_dump($timers); } enqueue_timer(3);

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.40.0090.00618.67
8.3.30.0080.00618.91
8.3.20.0040.00420.34
8.3.10.0040.00423.70
8.3.00.0000.00819.68
8.2.170.0120.00322.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00420.94
8.2.110.0040.00822.08
8.2.100.0090.00318.03
8.2.90.0050.00317.88
8.2.80.0060.00318.78
8.2.70.0060.00317.50
8.2.60.0040.00417.63
8.2.50.0040.00417.55
8.2.40.0000.00820.41
8.2.30.0000.00719.37
8.2.20.0020.00517.75
8.2.10.0040.00418.13
8.2.00.0000.00717.63
8.1.270.0090.00023.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00317.48
8.1.230.0110.00019.00
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0000.00917.23
8.1.180.0030.00522.12
8.1.170.0030.00518.49
8.1.160.0050.00218.81
8.1.150.0040.00420.10
8.1.140.0030.00617.32
8.1.130.0030.00317.70
8.1.120.0030.00317.38
8.1.110.0080.00017.46
8.1.100.0030.00317.46
8.1.90.0000.00717.45
8.1.80.0090.00017.43
8.1.70.0040.00417.33
8.1.60.0040.00417.47
8.1.50.0080.00017.52
8.1.40.0050.00317.41
8.1.30.0030.00517.58
8.1.20.0040.00417.62
8.1.10.0050.00317.45
8.1.00.0040.00417.42
8.0.300.0040.00418.77
8.0.290.0000.00916.75
8.0.280.0000.00718.47
8.0.270.0040.00417.19
8.0.260.0000.00617.27
8.0.250.0070.00016.93
8.0.240.0030.00616.93
8.0.230.0000.00716.99
8.0.220.0030.00316.84
8.0.210.0070.00016.82
8.0.200.0070.00016.96
8.0.190.0040.00416.99
8.0.180.0000.00816.80
8.0.170.0040.00416.96
8.0.160.0000.00816.94
8.0.150.0040.00416.85
8.0.140.0040.00416.75
8.0.130.0000.00513.31
8.0.120.0040.00416.76
8.0.110.0090.00016.80
8.0.100.0000.00716.86
8.0.90.0040.00416.85
8.0.80.0030.01416.84
8.0.70.0040.00416.88
8.0.60.0000.00716.96
8.0.50.0050.00316.86
8.0.30.0150.00617.14
8.0.20.0140.00817.40
8.0.10.0040.00417.00
8.0.00.0080.01016.57
7.4.330.0000.00615.15
7.4.320.0000.00616.62
7.4.300.0030.00316.54
7.4.290.0030.00316.58
7.4.280.0040.00416.63
7.4.270.0040.00416.56
7.4.260.0070.00016.38
7.4.250.0020.00516.58
7.4.240.0020.00516.53
7.4.230.0080.00016.71
7.4.220.0070.01116.69
7.4.210.0130.00316.53
7.4.200.0030.00316.62
7.4.160.0080.00816.48
7.4.150.0070.01017.40
7.4.140.0100.00717.86
7.4.130.0070.01316.55
7.4.120.0080.01116.57
7.4.110.0150.00816.61
7.4.100.0100.00716.43
7.4.90.0100.00716.60
7.4.80.0150.00319.39
7.4.70.0030.01416.50
7.4.60.0080.00716.47
7.4.50.0080.00016.50
7.4.40.0070.01016.55
7.4.30.0090.00916.67
7.4.00.0110.00615.15
7.3.330.0050.00013.22
7.3.320.0000.00613.35
7.3.310.0040.00416.34
7.3.300.0000.00716.20
7.3.290.0120.00616.37
7.3.280.0080.01016.34
7.3.270.0100.01017.40
7.3.260.0130.01216.37
7.3.250.0080.00916.52
7.3.240.0140.00316.60
7.3.230.0140.01216.59
7.3.210.0100.00716.44
7.3.200.0100.00619.39
7.3.190.0120.00716.35
7.3.180.0060.00916.63
7.3.170.0030.01316.55
7.3.160.0030.01316.33
7.3.120.0060.00914.90
7.3.110.0110.00414.82
7.3.100.0000.01414.57
7.3.90.0080.00414.95
7.3.80.0040.00715.01
7.3.70.0060.00314.82
7.3.60.0030.00714.95
7.3.50.0090.00314.92
7.3.40.0070.01014.97
7.3.30.0030.00814.90
7.3.20.0040.01116.65
7.3.10.0090.00616.61
7.3.00.0070.00716.65
7.2.330.0100.00716.68
7.2.320.0100.00616.68
7.2.310.0110.00616.47
7.2.300.0090.01216.78
7.2.290.0130.00316.59
7.2.250.0100.00714.76
7.2.240.0110.00814.93
7.2.230.0040.00714.76
7.2.220.0060.01015.26
7.2.210.0090.00314.96
7.2.200.0050.00815.22
7.2.190.0060.00915.09
7.2.180.0050.00815.17
7.2.170.0060.00915.02
7.2.130.0060.00516.84
7.2.120.0030.00916.77
7.2.110.0050.00816.62
7.2.100.0050.00716.73
7.2.90.0080.00716.95
7.2.80.0040.00616.70
7.2.70.0050.00816.92
7.2.60.0020.01016.77
7.2.50.0060.00816.89
7.2.40.0030.00916.84
7.2.30.0120.00816.88
7.2.20.0070.00416.64
7.2.10.0060.00616.78
7.2.00.0050.00917.75
7.1.330.0130.00015.57
7.1.320.0100.00315.77
7.1.310.0000.01015.78
7.1.300.0060.00315.81
7.1.290.0030.01315.84
7.1.280.0090.00615.83
7.1.270.0030.00815.75
7.1.260.0100.00316.04
7.1.250.0050.00815.61
7.1.200.0030.00815.56
7.1.100.0030.00918.06
7.1.70.0040.00417.18
7.1.60.0100.01419.70
7.1.50.0100.01634.82
7.1.00.0000.07022.57
7.0.200.0040.00416.82
7.0.140.0000.07321.95
7.0.60.0170.06319.92
7.0.50.0070.06317.89
7.0.40.0030.06020.27
7.0.30.0200.04720.26
7.0.20.0070.05020.33
7.0.10.0000.06020.09
7.0.00.0100.08020.08
5.6.280.0000.07720.86
5.6.210.0070.07320.70
5.6.200.0070.04018.12
5.6.190.0100.06320.64
5.6.180.2830.05020.35
5.6.170.0300.05020.53
5.6.160.0070.04020.54
5.6.150.0070.07718.16
5.6.140.0000.04318.14
5.6.130.0000.08018.15
5.6.120.0100.08021.09
5.6.110.0130.07721.03
5.6.100.0100.06021.01
5.6.90.0100.07721.02
5.6.80.0100.04320.41
5.6.70.4430.03720.52
5.5.350.0000.07720.41
5.5.340.0070.04018.02
5.5.330.0100.05320.42
5.5.320.0400.07320.30
5.5.310.0270.07720.41
5.5.300.0100.07718.07
5.5.290.0000.08017.97
5.5.280.0070.08320.73
5.5.270.0130.08320.83
5.5.260.0130.06720.80
5.5.250.0070.08320.46
5.5.240.0130.03320.16
5.4.450.0470.05719.41
5.4.440.0500.04019.52
5.4.430.0600.04719.39
5.4.420.0300.04319.38
5.4.410.0670.04719.25
5.4.400.0330.03318.85
5.4.390.0400.03318.84
5.4.380.0200.06018.68
5.4.370.0170.05018.72
5.4.360.0100.05718.63
5.4.350.0100.06318.75
5.4.340.0170.05018.73
5.4.320.0060.03612.51
5.4.310.0060.03712.50
5.4.300.0100.04912.51
5.4.290.0110.04212.50
5.4.280.0020.04312.39
5.4.270.0080.03512.40
5.4.260.0060.04112.40
5.4.250.0060.03912.39
5.4.240.0060.03612.40
5.4.230.0090.03512.39
5.4.220.0040.03912.39
5.4.210.0050.03812.39
5.4.200.0070.03712.39
5.4.190.0060.03712.39
5.4.180.0050.03712.39
5.4.170.0060.03712.39
5.4.160.0120.03012.39
5.4.150.0040.03712.39
5.4.140.0040.04112.07
5.4.130.0050.03812.06
5.4.120.0070.03312.02
5.4.110.0070.03512.01
5.4.100.0070.03412.01
5.4.90.0080.03412.01
5.4.80.0050.04012.01
5.4.70.0050.03812.01
5.4.60.0080.04312.01
5.4.50.0060.03512.01
5.4.40.0050.03512.00
5.4.30.0020.03911.99
5.4.20.0100.03111.99
5.4.10.0070.03412.00
5.4.00.0070.03511.48
5.3.290.0050.04012.80
5.3.280.0050.04012.70
5.3.270.0110.05912.72
5.3.260.0040.04112.72
5.3.250.0100.03512.72
5.3.240.0060.03812.72
5.3.230.0080.03512.71
5.3.220.0080.03512.68
5.3.210.0060.04012.68
5.3.200.0120.03112.68
5.3.190.0040.03912.67
5.3.180.0040.03712.68
5.3.170.0060.03812.67
5.3.160.0050.03712.67
5.3.150.0060.03912.67
5.3.140.0080.04012.66
5.3.130.0060.04412.66
5.3.120.0090.04912.66
5.3.110.0080.03712.66
5.3.100.0070.03612.13
5.3.90.0090.03312.11
5.3.80.0080.03412.09
5.3.70.0110.03412.09
5.3.60.0050.03912.08
5.3.50.0120.03112.02
5.3.40.0040.03812.02
5.3.30.0060.03511.98
5.3.20.0070.03311.77
5.3.10.0040.03611.73
5.3.00.0080.03711.71
5.2.170.0050.0319.21
5.2.160.0060.0299.22
5.2.150.0040.0329.21
5.2.140.0050.0309.21
5.2.130.0040.0309.18
5.2.120.0080.0279.18
5.2.110.0090.0269.18
5.2.100.0070.0299.18
5.2.90.0020.0339.17
5.2.80.0040.0359.18
5.2.70.0030.0329.18
5.2.60.0040.0319.12
5.2.50.0060.0309.09
5.2.40.0050.0399.07
5.2.30.0090.0489.05
5.2.20.0080.0399.04
5.2.10.0110.0248.95
5.2.00.0050.0398.81
5.1.60.0040.0258.09
5.1.50.0040.0258.08
5.1.40.0020.0278.07
5.1.30.0030.0278.42
5.1.20.0030.0288.44
5.1.10.0100.0238.16
5.1.00.0070.0328.16
5.0.50.0060.0256.64
5.0.40.0120.0366.49
5.0.30.0070.0526.31
5.0.20.0040.0266.29
5.0.10.0030.0286.26
5.0.00.0040.0396.25
4.4.90.0020.0174.78
4.4.80.0040.0154.76
4.4.70.0040.0144.75
4.4.60.0020.0194.75
4.4.50.0050.0154.77
4.4.40.0030.0264.70
4.4.30.0040.0154.75
4.4.20.0040.0174.84
4.4.10.0000.0184.85
4.4.00.0050.0324.76
4.3.110.0020.0184.67
4.3.100.0020.0164.67
4.3.90.0020.0174.63
4.3.80.0020.0264.59
4.3.70.0050.0124.63
4.3.60.0050.0124.63
4.3.50.0040.0214.62
4.3.40.0020.0334.54
4.3.30.0030.0253.30
4.3.20.0030.0163.27
4.3.10.0020.0163.24
4.3.00.0030.02014.70

preferences:
43.63 ms | 400 KiB | 5 Q