3v4l.org

run code in 300+ PHP versions simultaneously
<?php function brokenTrace($arg1, $arg2) { backtraceWrapper(); unset($arg1); backtraceWrapper(); unset($arg2); backtraceWrapper(); } function backtraceWrapper() { $bt = debug_backtrace(); $args = $bt[1]['args']; print_r($args); var_dump(iterator_to_array($args)); for ($i = 0; $i < count($args); $i++) { var_dump($args[$i]); } } brokenTrace("A", "B");

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.01518.56
8.3.50.0240.00921.21
8.3.40.0150.00618.78
8.3.30.0150.00618.85
8.3.20.0060.00320.22
8.3.10.0150.00321.60
8.3.00.0040.00419.79
8.2.180.0160.00616.38
8.2.170.0000.02122.96
8.2.160.0110.00319.08
8.2.150.0110.00824.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0060.00317.63
8.2.110.0040.00422.16
8.2.100.0110.00017.63
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0070.00318.04
8.2.50.0000.00818.07
8.2.40.0080.00019.33
8.2.30.0030.00519.89
8.2.20.0040.00417.73
8.2.10.0040.00418.11
8.2.00.0080.00018.22
8.1.280.0040.01125.92
8.1.270.0040.00420.39
8.1.260.0050.00226.35
8.1.250.0020.00528.09
8.1.240.0030.00622.51
8.1.230.0070.00317.42
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0080.00517.35
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0080.00018.53
8.1.160.0000.00722.00
8.1.150.0040.00418.85
8.1.140.0040.00417.45
8.1.130.0070.00017.57
8.1.120.0030.00417.34
8.1.110.0040.00417.44
8.1.100.0050.00317.41
8.1.90.0000.00817.41
8.1.80.0000.00717.39
8.1.70.0070.00017.44
8.1.60.0030.00617.61
8.1.50.0030.00617.46
8.1.40.0030.00717.41
8.1.30.0030.00617.67
8.1.20.0000.00817.65
8.1.10.0040.00417.55
8.1.00.0040.00417.49
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0030.00518.38
8.0.270.0080.00017.25
8.0.260.0030.00317.20
8.0.250.0000.00716.98
8.0.240.0000.00717.01
8.0.230.0030.00316.96
8.0.220.0000.00716.91
8.0.210.0000.00816.94
8.0.200.0020.00516.97
8.0.190.0020.00516.83
8.0.180.0000.00816.92
8.0.170.0080.00016.87
8.0.160.0000.00716.87
8.0.150.0070.00016.86
8.0.140.0050.00216.77
8.0.130.0030.00313.34
8.0.120.0000.00816.80
8.0.110.0000.00716.78
8.0.100.0080.00016.97
8.0.90.0000.00816.82
8.0.80.0070.01016.78
8.0.70.0000.00816.75
8.0.60.0040.00417.02
8.0.50.0050.00316.79
8.0.30.0100.00916.99
8.0.20.0090.01117.40
8.0.10.0040.00416.82
8.0.00.0160.01216.93
7.4.330.0050.00015.11
7.4.320.0070.00016.59
7.4.300.0030.00616.51
7.4.290.0000.01016.60
7.4.280.0030.00316.61
7.4.270.0000.00716.47
7.4.260.0060.00316.54
7.4.250.0000.00816.55
7.4.240.0020.00516.59
7.4.230.0070.00016.61
7.4.220.0160.01016.55
7.4.210.0130.00716.50
7.4.200.0070.00016.70
7.4.160.0040.01116.37
7.4.150.0110.00917.40
7.4.140.0130.00817.86
7.4.130.0130.00516.59
7.4.120.0110.00716.58
7.4.110.0030.01416.66
7.4.100.0090.01016.57
7.4.90.0140.00316.56
7.4.80.0100.00719.39
7.4.70.0090.00616.53
7.4.60.0100.00616.53
7.4.50.0000.00816.42
7.4.40.0100.00716.23
7.4.30.0110.00816.52
7.4.00.0070.00715.17
7.3.330.0040.00313.34
7.3.320.0020.00213.33
7.3.310.0060.00016.27
7.3.300.0000.00716.29
7.3.290.0140.00416.36
7.3.280.0110.00716.38
7.3.270.0030.01317.40
7.3.260.0140.00316.38
7.3.250.0120.00716.29
7.3.240.0090.00916.27
7.3.230.0120.00616.39
7.3.210.0070.01016.34
7.3.200.0070.01116.37
7.3.190.0100.00716.46
7.3.180.0120.00916.29
7.3.170.0200.00016.36
7.3.160.0070.00916.36
7.3.10.0040.01116.63
7.3.00.0080.00316.53
7.2.330.0120.00416.61
7.2.320.0200.00316.57
7.2.310.0130.01016.75
7.2.300.0090.00916.60
7.2.290.0170.00716.59
7.2.130.0020.01116.83
7.2.120.0080.00916.86
7.2.110.0090.00316.89
7.2.100.0040.01016.81
7.2.90.0100.00316.85
7.2.80.0030.01216.96
7.2.70.0070.01016.93
7.2.60.0020.01016.71
7.2.50.0030.01116.96
7.2.40.0020.00916.88
7.2.30.0040.00716.87
7.2.20.0070.00916.82
7.2.10.0040.00916.88
7.2.00.0030.01017.67
7.1.250.0060.00715.64
7.1.240.0080.00315.60
7.1.230.0080.00315.93
7.1.220.0060.00615.52
7.1.210.0100.00315.81
7.1.200.0080.00615.71
7.1.190.0030.00915.61
7.1.180.0040.00815.90
7.1.170.0030.00615.96
7.1.160.0000.01315.72
7.1.150.0030.00615.59
7.1.140.0080.00415.58
7.1.130.0080.00415.83
7.1.120.0030.01215.84
7.1.110.0000.00915.61
7.1.100.0030.00715.93
7.1.90.0030.00915.77
7.1.80.0070.00415.67
7.1.70.0040.00516.52
7.1.60.0050.00516.37
7.1.50.0050.01316.43
7.1.40.0030.00915.59
7.1.30.0100.00615.79
7.1.20.0000.01615.77
7.1.10.0080.00415.70
7.1.00.0030.04718.97
7.0.330.0060.00615.46
7.0.320.0050.00515.41
7.0.310.0060.00615.29
7.0.300.0040.01115.07
7.0.290.0090.00615.53
7.0.280.0060.00315.46
7.0.270.0100.00715.26
7.0.260.0050.00215.07
7.0.250.0030.00715.49
7.0.240.0000.01215.53
7.0.230.0070.00315.42
7.0.220.0030.00715.52
7.0.210.0030.00915.22
7.0.200.0080.00716.07
7.0.190.0030.00515.06
7.0.180.0160.00015.39
7.0.170.0030.00615.35
7.0.160.0060.00915.44
7.0.150.0050.00515.45
7.0.140.0000.01215.34
7.0.130.0060.00615.13
7.0.120.0090.00615.32
7.0.110.0000.01115.42
7.0.100.0040.00715.35
7.0.90.0030.01015.03
7.0.80.0060.00615.29
7.0.70.0000.01015.37
7.0.60.0090.04617.47
7.0.50.0070.03016.64
7.0.40.0070.03616.93
7.0.30.0200.04016.88
7.0.20.0200.04116.82
7.0.10.0100.02616.89
7.0.00.0080.02716.79
5.6.380.0080.00414.31
5.6.370.0110.00414.29
5.6.360.0110.00414.07
5.6.350.0050.00314.04
5.6.340.0060.00613.86
5.6.330.0080.00414.43
5.6.320.0070.00314.07
5.6.310.0070.00313.94
5.6.300.0030.00914.12
5.6.290.0060.00613.98
5.6.280.0040.02317.69
5.6.270.0040.00814.25
5.6.260.0040.00814.12
5.6.250.0030.00614.25
5.6.240.0040.00714.13
5.6.230.0000.01414.36
5.6.220.0030.01014.23
5.6.210.0130.04317.16
5.6.200.0080.02516.07
5.6.190.0030.04517.32
5.6.180.0070.04117.37
5.6.170.0200.04217.32
5.6.160.0060.04517.16
5.6.150.0100.02316.38
5.6.140.0060.03916.17
5.6.130.0050.02716.06
5.6.120.0190.03017.58
5.6.110.0080.04617.77
5.6.100.0100.04017.81
5.6.90.0150.03817.70
5.6.80.0100.04217.40
5.6.70.2070.02517.24
5.6.60.0060.00914.36
5.6.50.0070.01014.07
5.6.40.0040.01113.99
5.6.30.0060.00914.09
5.6.20.0220.00214.14
5.6.10.0140.00414.21
5.6.00.0100.00714.07
5.5.380.0040.00411.14
5.5.370.0000.01011.11
5.5.360.0090.00310.97
5.5.350.0090.04015.75
5.5.340.0050.02614.51
5.5.330.0050.04315.65
5.5.320.0130.04415.64
5.5.310.0120.02515.62
5.5.300.0090.01814.46
5.5.290.0050.04514.47
5.5.280.0080.04315.89
5.5.270.0070.04016.03
5.5.260.0120.04215.86
5.5.250.0100.03915.79
5.5.240.0150.03315.64
5.5.230.0030.00610.97
5.5.220.0130.00311.07
5.5.210.0060.00611.14
5.5.200.0000.00810.90
5.5.190.0110.00410.90
5.5.180.0100.00710.96
5.5.170.0180.00611.16
5.5.160.0060.00310.90
5.5.150.0070.00711.15
5.5.140.0110.00710.98
5.5.130.0230.00311.12
5.5.120.0110.00411.10
5.5.110.0060.00310.90
5.5.100.0150.00010.97
5.5.90.0030.00811.02
5.5.80.0100.00710.91
5.5.70.0080.00010.90
5.5.60.0130.00410.90
5.5.50.0110.01110.90
5.5.40.0100.00310.99
5.5.30.0120.00410.90
5.5.20.0170.00210.90
5.5.10.0060.00910.96
5.5.00.0150.00010.90
5.4.450.0280.03815.36
5.4.440.0360.03415.19
5.4.430.0410.03115.14
5.4.420.0410.02615.33
5.4.410.0330.02615.16
5.4.400.0300.02914.86
5.4.390.0380.03015.01
5.4.380.0410.02614.98
5.4.370.0370.02914.87
5.4.360.0480.03315.09
5.4.350.0350.03515.13
5.4.340.0420.02814.94
5.4.330.0070.00310.90
5.4.320.0300.03515.06
5.4.310.0240.03515.09
5.4.300.0380.03015.02
5.4.290.0340.03215.11
5.4.280.0380.03014.95
5.4.270.0390.02715.07
5.4.260.0360.03015.02
5.4.250.0390.02515.15
5.4.240.0350.02715.12
5.4.230.0280.02914.87
5.4.220.0310.03015.07
5.4.210.0430.03315.09
5.4.200.0390.02715.15
5.4.190.0390.03314.93
5.4.180.0420.02815.02
5.4.170.0390.02715.07
5.4.160.0490.02215.02
5.4.150.0440.02815.09
5.4.140.0510.02513.75
5.4.130.0390.02713.68
5.4.120.0420.02613.84
5.4.110.0330.03313.69
5.4.100.0400.02613.76
5.4.90.0280.03113.73
5.4.80.0380.02713.80
5.4.70.0070.01613.56
5.4.60.0070.02513.77
5.4.50.0030.03013.64
5.4.40.0100.01713.67
5.4.30.0220.03513.80
5.4.20.0210.02013.73
5.4.10.0030.02713.71
5.4.00.0070.00510.90

preferences:
62.19 ms | 401 KiB | 5 Q