3v4l.org

run code in 300+ PHP versions simultaneously
<?php function enqueue_timer($arr_timer_struct) { $timers = [6,5,4,2,1]; $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.0110.00318.67
8.3.30.0070.00718.94
8.3.20.0040.00420.34
8.3.10.0030.00623.64
8.3.00.0040.00419.44
8.2.170.0150.00022.96
8.2.160.0070.00720.21
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0060.00321.04
8.2.110.0000.00922.30
8.2.100.0070.00418.34
8.2.90.0080.00019.21
8.2.80.0060.00317.97
8.2.70.0050.00317.63
8.2.60.0000.01317.93
8.2.50.0070.00418.07
8.2.40.0080.00018.22
8.2.30.0080.00018.21
8.2.20.0050.00217.88
8.2.10.0000.00718.12
8.2.00.0040.00417.68
8.1.270.0050.00523.67
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.88
8.1.230.0060.00619.16
8.1.220.0040.00417.79
8.1.210.0030.00518.77
8.1.200.0030.00817.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0060.00318.65
8.1.160.0040.00421.98
8.1.150.0040.00418.88
8.1.140.0060.00317.38
8.1.130.0070.00017.83
8.1.120.0000.00717.49
8.1.110.0020.00517.46
8.1.100.0040.00417.33
8.1.90.0050.00317.47
8.1.80.0000.00817.34
8.1.70.0030.00317.46
8.1.60.0030.00617.54
8.1.50.0040.00417.47
8.1.40.0030.00517.57
8.1.30.0000.00817.63
8.1.20.0000.00817.67
8.1.10.0000.00817.55
8.1.00.0000.00817.51
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0000.00718.43
8.0.270.0070.00017.13
8.0.260.0030.00317.25
8.0.250.0030.00516.98
8.0.240.0030.00316.91
8.0.230.0030.00316.92
8.0.220.0060.00016.78
8.0.210.0000.00716.79
8.0.200.0030.00316.78
8.0.190.0050.00316.90
8.0.180.0070.00016.80
8.0.170.0040.00416.82
8.0.160.0070.00016.83
8.0.150.0000.00716.81
8.0.140.0030.00416.82
8.0.130.0060.00013.27
8.0.120.0030.00616.83
8.0.110.0040.00416.93
8.0.100.0030.00416.89
8.0.90.0040.00416.89
8.0.80.0110.00716.88
8.0.70.0000.00816.93
8.0.60.0050.00216.77
8.0.50.0050.00216.91
8.0.30.0120.00917.11
8.0.20.0070.01317.40
8.0.10.0070.00017.00
8.0.00.0100.01116.66
7.4.330.0000.00515.00
7.4.320.0000.00616.51
7.4.300.0060.00016.57
7.4.290.0040.00416.59
7.4.280.0030.00716.61
7.4.270.0000.00816.50
7.4.260.0000.00716.51
7.4.250.0000.00716.56
7.4.240.0040.00316.52
7.4.230.0040.00416.61
7.4.220.0040.01516.57
7.4.210.0090.00616.68
7.4.200.0000.00716.61
7.4.160.0040.01216.59
7.4.150.0100.01717.40
7.4.140.0130.00917.86
7.4.130.0080.00816.48
7.4.120.0090.00916.63
7.4.110.0070.01116.47
7.4.100.0090.00916.47
7.4.90.0090.00916.36
7.4.80.0070.01119.39
7.4.70.0050.01116.54
7.4.60.0030.01216.47
7.4.50.0040.00416.50
7.4.40.0060.01116.52
7.4.30.0060.00916.52
7.4.10.0000.01614.64
7.4.00.0090.00915.11
7.3.330.0000.00613.35
7.3.320.0060.00013.22
7.3.310.0030.00316.39
7.3.300.0000.00716.37
7.3.290.0070.00716.35
7.3.280.0110.00716.31
7.3.270.0140.01017.40
7.3.260.0130.01016.29
7.3.250.0100.00716.39
7.3.240.0110.00816.52
7.3.230.0110.01416.39
7.3.210.0120.00416.31
7.3.200.0060.01519.39
7.3.190.0120.00616.53
7.3.180.0000.01516.52
7.3.170.0130.01016.36
7.3.160.0130.00316.64
7.3.130.0030.01215.00
7.3.120.0050.01114.81
7.3.110.0130.00614.99
7.3.100.0030.01014.88
7.3.90.0030.01014.91
7.3.80.0040.00815.09
7.3.70.0070.00714.89
7.3.60.0080.00714.97
7.3.50.0070.00715.07
7.3.40.0090.00614.82
7.3.30.0000.01414.89
7.3.20.0060.01016.68
7.3.10.0110.00516.61
7.3.00.0090.00716.39
7.2.330.0110.00616.93
7.2.320.0060.01216.86
7.2.310.0060.01216.49
7.2.300.0130.00616.53
7.2.290.0070.01016.54
7.2.260.0070.01015.25
7.2.250.0060.00915.25
7.2.240.0060.00815.03
7.2.230.0030.01015.23
7.2.220.0090.00915.25
7.2.210.0090.00615.25
7.2.200.0060.00914.91
7.2.190.0000.01215.00
7.2.180.0060.00315.25
7.2.170.0030.00715.17
7.2.160.0030.01014.99
7.2.150.0070.01016.91
7.2.140.0030.01017.02
7.2.130.0080.01016.80
7.2.120.0150.00316.67
7.2.110.0050.00716.68
7.2.100.0150.00016.77
7.2.90.0120.00716.78
7.2.80.0080.00516.86
7.2.70.0070.01016.78
7.2.60.0070.00716.88
7.2.50.0140.00216.86
7.2.40.0070.00816.72
7.2.30.0130.00416.84
7.2.20.0070.00816.78
7.2.10.0020.01216.79
7.2.00.0050.01317.85
7.1.330.0060.00915.48
7.1.320.0000.00815.98
7.1.310.0070.00715.68
7.1.300.0090.00615.86
7.1.290.0060.00915.77
7.1.280.0040.01015.81
7.1.270.0130.00015.84
7.1.260.0040.01115.73
7.1.250.0080.00515.46
7.1.240.0070.01015.87
7.1.230.0060.00615.84
7.1.220.0030.00815.84
7.1.210.0000.01115.80
7.1.200.0060.00815.84
7.1.190.0030.00915.75
7.1.180.0000.01015.70
7.1.170.0130.00015.83
7.1.160.0060.00615.79
7.1.150.0070.00315.54
7.1.140.0070.00415.81
7.1.130.0040.00815.65
7.1.120.0070.00716.05
7.1.110.0030.00915.61
7.1.100.0050.00917.13
7.1.90.0060.00615.95
7.1.80.0000.01115.80
7.1.70.0060.00516.52
7.1.60.0130.00517.85
7.1.50.0140.01025.26
7.1.40.0060.00615.82
7.1.30.0000.01115.97
7.1.20.0070.00715.66
7.1.10.0070.00415.82
7.1.00.0050.04219.21
7.0.330.0000.01115.12
7.0.320.0090.00315.49
7.0.310.0030.01315.41
7.0.300.0030.01015.65
7.0.290.0120.00315.44
7.0.280.0040.00915.25
7.0.270.0070.01015.60
7.0.260.0000.00915.37
7.0.250.0060.00915.18
7.0.240.0040.00415.62
7.0.230.0000.01515.43
7.0.220.0080.00615.45
7.0.210.0040.00415.43
7.0.200.0030.00716.14
7.0.190.0000.01015.43
7.0.180.0080.00815.23
7.0.170.0080.00415.23
7.0.160.0000.00915.18
7.0.150.0040.00715.38
7.0.140.0020.04118.83
7.0.130.0070.00315.59
7.0.120.0070.00315.34
7.0.110.0030.00915.48
7.0.100.0030.01015.62
7.0.90.0000.01315.26
7.0.80.0070.00015.59
7.0.70.0060.00615.54
7.0.60.0050.04617.60
7.0.50.0030.03816.68
7.0.40.0040.03316.69
7.0.30.0150.03516.67
7.0.20.0050.03016.86
7.0.10.0050.04316.94
7.0.00.0020.02816.77
5.6.400.0090.00314.48
5.6.390.0030.00514.41
5.6.380.0070.00714.64
5.6.370.0030.00614.49
5.6.360.0060.00614.55
5.6.350.0040.00414.14
5.6.340.0000.00914.56
5.6.330.0110.00714.37
5.6.320.0060.00614.61
5.6.310.0090.00614.50
5.6.300.0080.00414.29
5.6.290.0120.00314.58
5.6.280.0050.04217.62
5.6.270.0070.00314.42
5.6.260.0050.00514.18
5.6.250.0030.01014.25
5.6.240.0100.00314.47
5.6.230.0000.00814.41
5.6.220.0050.00514.55
5.6.210.0060.04117.48
5.6.200.0020.04716.18
5.6.190.0070.04717.42
5.6.180.2080.02517.47
5.6.170.0180.04017.39
5.6.160.0030.02617.41
5.6.150.0030.02316.38
5.6.140.0110.01516.36
5.6.130.0050.05016.36
5.6.120.0070.03217.69
5.6.110.0100.04317.60
5.6.100.0050.03517.79
5.6.90.0060.03817.79
5.6.80.0080.04417.38
5.6.70.2230.02517.32
5.6.60.0070.00714.16
5.6.50.0030.01314.43
5.6.40.0040.01114.03
5.6.30.0070.01014.43
5.6.20.0100.00313.99
5.6.10.0030.00914.61
5.6.00.0070.00314.28
5.5.380.0120.00314.47
5.5.370.0050.00313.98
5.5.360.0040.01114.41
5.5.350.0030.03817.39
5.5.340.0120.03216.10
5.5.330.0040.03417.29
5.5.320.0140.05117.46
5.5.310.0080.04717.38
5.5.300.0060.04316.22
5.5.290.0060.02615.98
5.5.280.0050.03717.49
5.5.270.0060.04517.52
5.5.260.0090.04317.63
5.5.250.0060.04117.51
5.5.240.0170.04017.10
5.5.230.0030.00714.07
5.5.220.0000.01413.88
5.5.210.0080.00614.25
5.5.200.0070.00414.16
5.5.190.0070.00713.95
5.5.180.0030.00614.06
5.5.170.0060.00914.26
5.5.160.0080.00314.18
5.5.150.0060.00914.21
5.5.140.0060.00614.17
5.5.130.0120.00314.32
5.5.120.0060.00314.22
5.5.110.0070.00714.46
5.5.100.0060.00814.24
5.5.90.0100.00614.27
5.5.80.0100.00714.12
5.5.70.0070.00314.48
5.5.60.0000.01314.36
5.5.50.0030.01014.35
5.5.40.0030.00714.25
5.5.30.0000.01313.94
5.5.20.0000.01014.32
5.5.10.0080.00414.32
5.5.00.0090.00614.36
5.4.450.1850.02415.22
5.4.440.1820.02115.38
5.4.430.1780.02015.33
5.4.420.1360.02015.42
5.4.410.2230.02315.18
5.4.400.1980.02114.83
5.4.390.1900.02015.13
5.4.380.1830.02115.19
5.4.370.1750.02215.13
5.4.360.1730.02515.14
5.4.350.1730.02315.10
5.4.340.1850.02515.23
5.4.330.0030.00711.13
5.4.320.1200.01815.11
5.4.310.1360.02314.99
5.4.300.1790.02215.07
5.4.290.1380.01715.17
5.4.280.1330.01815.17
5.4.270.1320.02015.16
5.4.260.1120.02315.17
5.4.250.1180.02315.01
5.4.240.1600.02115.13
5.4.230.1700.02415.16
5.4.220.1580.02014.86
5.4.210.2030.02214.92
5.4.200.1950.01815.19
5.4.190.1770.02215.04
5.4.180.1530.02414.87
5.4.170.1670.02015.23
5.4.160.1670.01915.10
5.4.150.1920.02315.02
5.4.140.1920.01513.75
5.4.130.1700.02413.70
5.4.120.1910.02013.62
5.4.110.1530.02113.84
5.4.100.1710.02113.88
5.4.90.1720.02313.67
5.4.80.1700.02013.79
5.4.70.1780.02413.80
5.4.60.1870.02013.65
5.4.50.1650.03213.85
5.4.40.1780.02613.82
5.4.30.1570.01813.76
5.4.20.1830.01813.72
5.4.10.1780.02013.71
5.4.00.1870.01813.40
5.3.290.1300.02012.63
5.3.280.1840.02012.57
5.3.270.1680.02012.57
5.3.260.1780.02012.61
5.3.250.1650.02012.57
5.3.240.1850.02212.53
5.3.230.1620.02212.59
5.3.220.1780.01812.61
5.3.210.1880.02312.57
5.3.200.1830.01712.55
5.3.190.1950.02412.54
5.3.180.1860.01812.63
5.3.170.1780.02512.50
5.3.160.1850.02012.53
5.3.150.1930.01812.63
5.3.140.1870.02012.55
5.3.130.1780.02012.49
5.3.120.1800.02412.53
5.3.110.1840.02012.58
5.3.100.1680.02312.31
5.3.90.1930.01812.30
5.3.80.1940.02212.23
5.3.70.1720.02212.27
5.3.60.1750.02412.23
5.3.50.1800.02412.19
5.3.40.2250.02112.32
5.3.30.1700.02112.23
5.3.20.1990.01912.22
5.3.10.1850.02112.05
5.3.00.1880.02112.19
5.2.170.2230.03011.14
5.2.160.2870.02011.23
5.2.150.3570.02311.27
5.2.140.3400.02711.07
5.2.130.3600.02311.02
5.2.120.3470.02711.10
5.2.110.3570.03311.10
5.2.100.2970.02311.00
5.2.90.3130.02711.11
5.2.80.3100.03011.14
5.2.70.2830.03310.99
5.2.60.3000.03310.95
5.2.50.3530.03010.94
5.2.40.3100.02010.90
5.2.30.3100.03011.13
5.2.20.2530.03710.89
5.2.10.3000.02710.83
5.2.00.2730.02710.63
5.1.60.2630.0279.97
5.1.50.2570.0139.89
5.1.40.2370.0279.95
5.1.30.2400.02710.42
5.1.20.2300.02710.57
5.1.10.2430.02710.18
5.1.00.2330.02310.15
5.0.50.1300.0308.63
5.0.40.1630.0208.50
5.0.30.1370.0308.16
5.0.20.1400.0208.09
5.0.10.1500.0238.06
5.0.00.1330.0378.28
4.4.90.1170.0136.42
4.4.80.1370.0176.42
4.4.70.1630.0136.42
4.4.60.1400.0176.42
4.4.50.1670.0176.42
4.4.40.1300.0276.42
4.4.30.1130.0176.42
4.4.20.1200.0206.42
4.4.10.1330.0136.42
4.4.00.1530.0236.42
4.3.110.1500.0176.42
4.3.100.1430.0206.42
4.3.90.1470.0176.42
4.3.80.1370.0306.42
4.3.70.1300.0136.42
4.3.60.1170.0136.42
4.3.50.1300.0176.42
4.3.40.1370.0306.42
4.3.30.0770.0236.42
4.3.20.0530.0176.42
4.3.10.0730.0276.42
4.3.00.0730.0176.42

preferences:
38.85 ms | 400 KiB | 5 Q