3v4l.org

run code in 300+ PHP versions simultaneously
<?php function eh($type, $message, $file, $line, $context) { throw new Exception(); } set_error_handler('eh'); try { $a->b; } catch (\Exception $e) { $trace = $e->getTrace(); print_r($trace[0]['args'][4]); }

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.0040.01118.55
8.3.50.0090.00721.94
8.3.40.0120.00318.59
8.3.30.0120.00319.13
8.3.20.0080.00020.25
8.3.10.0060.00322.13
8.3.00.0000.00822.40
8.2.180.0120.00616.88
8.2.170.0110.00422.96
8.2.160.0060.01320.94
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00819.26
8.2.110.0100.00021.10
8.2.100.0030.00917.91
8.2.90.0080.00018.22
8.2.80.0040.00417.97
8.2.70.0040.00417.80
8.2.60.0000.00918.04
8.2.50.0050.00318.10
8.2.40.0000.00820.45
8.2.30.0050.00218.02
8.2.20.0040.00417.55
8.2.10.0000.00717.68
8.2.00.0000.00717.70
8.1.280.0070.00725.92
8.1.270.0060.00323.91
8.1.260.0030.00626.35
8.1.250.0050.00328.09
8.1.240.0100.00723.97
8.1.230.0070.00320.82
8.1.220.0000.00917.74
8.1.210.0050.00318.96
8.1.200.0040.00417.22
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00722.02
8.1.150.0030.00518.61
8.1.140.0060.00617.40
8.1.130.0000.00717.90
8.1.120.0000.00717.41
8.1.110.0000.00817.37
8.1.100.0030.00317.46
8.1.90.0000.00717.30
8.1.80.0040.00417.29
8.1.70.0040.00417.41
8.1.60.0030.00617.58
8.1.50.0000.00817.49
8.1.40.0040.00417.57
8.1.30.0090.00017.61
8.1.20.0040.00417.74
8.1.10.0080.00017.64
8.1.00.0000.00717.53
8.0.300.0040.00419.85
8.0.290.0050.00316.75
8.0.280.0070.00018.42
8.0.270.0020.00517.20
8.0.260.0000.00716.92
8.0.250.0040.00416.88
8.0.240.0000.00716.95
8.0.230.0000.00716.88
8.0.220.0050.00216.92
8.0.210.0030.00316.91
8.0.200.0050.00316.96
8.0.190.0050.00216.94
8.0.180.0070.00016.99
8.0.170.0040.00416.94
8.0.160.0040.00416.95
8.0.150.0050.00316.82
8.0.140.0000.00716.93
8.0.130.0030.00313.30
8.0.120.0000.00816.87
8.0.110.0040.00416.80
8.0.100.0070.00016.96
8.0.90.0000.00716.84
8.0.80.0070.00716.86
8.0.70.0000.00816.97
8.0.60.0040.00316.75
8.0.50.0000.00716.79
8.0.30.0100.00917.04
8.0.20.0130.00817.40
8.0.10.0000.00716.84
8.0.00.0090.00816.61
7.4.330.0050.00015.14
7.4.320.0000.00616.52
7.4.300.0060.00016.54
7.4.290.0040.00716.53
7.4.280.0000.00716.52
7.4.270.0040.00416.63
7.4.260.0000.00716.63
7.4.250.0000.00716.50
7.4.240.0040.00416.58
7.4.230.0000.00716.51
7.4.220.0070.01116.55
7.4.210.0090.00716.63
7.4.200.0030.00516.69
7.4.190.0040.00316.34
7.4.160.0130.00316.66
7.4.150.0070.01117.40
7.4.140.0130.00617.86
7.4.130.0120.00516.60
7.4.120.0080.00916.54
7.4.110.0110.00616.64
7.4.100.0070.01116.49
7.4.90.0150.00316.59
7.4.80.0070.01019.39
7.4.70.0030.01916.56
7.4.60.0060.01416.42
7.4.50.0050.00916.51
7.4.40.0130.00619.61
7.4.30.0110.01016.41
7.4.20.0070.01616.48
7.4.10.0030.01616.34
7.4.00.0060.01115.72
7.3.330.0030.00313.21
7.3.320.0060.00013.47
7.3.310.0030.00316.28
7.3.300.0060.00016.30
7.3.290.0070.01016.39
7.3.280.0130.00616.37
7.3.270.0070.01017.40
7.3.260.0060.01216.59
7.3.250.0080.00916.49
7.3.240.0130.01016.45
7.3.230.0090.00816.43
7.3.210.0030.02016.54
7.3.200.0080.00819.39
7.3.190.0100.00716.57
7.3.180.0070.01216.38
7.3.170.0090.00716.28
7.3.160.0120.01116.21
7.3.150.0090.00916.27
7.3.140.0070.01416.46
7.3.130.0090.00916.50
7.3.120.0050.01315.58
7.3.110.0040.01416.37
7.3.100.0100.01316.45
7.3.90.0180.00716.39
7.3.80.0070.01016.26
7.3.70.0090.01216.41
7.3.60.0130.01016.28
7.3.50.0090.00916.22
7.3.40.0120.00616.41
7.3.30.0180.00616.28
7.3.20.0160.00916.27
7.3.10.0110.00816.32
7.3.00.0080.01016.37
7.2.330.0120.00616.67
7.2.320.0070.01016.72
7.2.310.0130.01016.40
7.2.300.0090.01216.31
7.2.290.0150.00616.44
7.2.280.0100.01016.29
7.2.270.0070.01716.42
7.2.260.0100.00716.23
7.2.250.0110.00716.50
7.2.240.0060.01316.41
7.2.230.0150.01216.68
7.2.220.0110.00716.43
7.2.210.0110.00716.48
7.2.200.0040.01816.46
7.2.190.0150.01216.46
7.2.180.0120.00816.42
7.2.170.0140.01016.27
7.2.160.0110.01516.43
7.2.150.0060.01516.50
7.2.140.0110.01116.46
7.2.130.0080.01016.57
7.2.120.0100.00516.75
7.2.110.0090.00716.61
7.2.100.0070.00916.63
7.2.90.0210.00816.75
7.2.80.0110.01016.73
7.2.70.0060.01316.79
7.2.60.0040.01316.67
7.2.50.0020.01416.63
7.2.40.0120.00616.78
7.2.30.0090.00916.70
7.2.20.0050.01116.82
7.2.10.0100.00716.75
7.2.00.0080.01117.52
7.1.330.0070.01315.58
7.1.320.0150.00315.52
7.1.310.0590.00615.52
7.1.300.0100.01015.45
7.1.290.0080.01215.54
7.1.280.0040.01615.32
7.1.270.0080.00815.47
7.1.260.0140.00715.42
7.1.250.0030.01215.65
7.1.240.0060.01315.47
7.1.230.0090.00915.35
7.1.220.0090.00915.40
7.1.210.0090.00915.52
7.1.200.0030.01415.49
7.1.190.0180.00615.36
7.1.180.0060.01215.46
7.1.170.0130.00315.45
7.1.160.0060.01215.54
7.1.150.0160.00715.36
7.1.140.0030.01515.51
7.1.130.0070.01015.48
7.1.120.0100.01015.31
7.1.110.0070.01015.48
7.1.100.0070.00816.88
7.1.90.0160.00015.54
7.1.80.0100.00715.38
7.1.70.0070.00716.34
7.1.60.0090.01317.61
7.1.50.0060.01416.05
7.1.40.0190.00615.61
7.1.30.0100.00715.53
7.1.20.0110.01215.69
7.1.10.0120.00415.49
7.1.00.0070.03918.89
7.0.330.0110.00815.17
7.0.320.0160.00614.92
7.0.310.0110.00815.00
7.0.300.0240.00015.13
7.0.290.0080.01115.16
7.0.280.0130.00615.12
7.0.270.0090.01515.09
7.0.260.0070.01115.18
7.0.250.0160.00715.21
7.0.240.0170.00314.87
7.0.230.0150.00815.18
7.0.220.0160.00415.17
7.0.210.0090.01214.99
7.0.200.0090.00615.83
7.0.190.0110.00715.24
7.0.180.0080.00815.30
7.0.170.0150.00315.22
7.0.160.0190.00614.96
7.0.150.0160.00415.21
7.0.140.0080.04118.67
7.0.130.0100.00715.20
7.0.120.0050.04318.59
7.0.110.0070.04218.54
7.0.100.0080.04118.52
7.0.90.0100.04018.54
7.0.80.0100.03818.72
7.0.70.0090.03718.76
7.0.60.0070.03818.55
7.0.50.0080.04318.63
7.0.40.0080.03618.68
7.0.30.0020.04218.52
7.0.20.0080.04018.54
7.0.10.0090.03918.59
7.0.00.0090.03818.72
5.6.400.0030.02015.98
5.6.390.0100.01415.53
5.6.380.0240.01115.68
5.6.370.0060.02315.97
5.6.360.0090.01416.13
5.6.350.0080.02715.82
5.6.340.0160.01015.86
5.6.330.0060.01615.85
5.6.320.0200.00415.69
5.6.310.0120.01215.55
5.6.300.0130.01415.81
5.6.290.0040.01616.02
5.6.280.0100.04218.38
5.6.270.0140.01016.00
5.6.260.0140.03718.49
5.6.250.0080.03918.40
5.6.240.0060.04618.52
5.6.230.0060.04518.37
5.6.220.0120.04018.45
5.6.210.0150.03718.44
5.6.200.0060.04818.41
5.6.190.0130.03618.39
5.6.180.0060.04218.37
5.6.170.0050.04718.31
5.6.160.0100.03618.32
5.6.150.0090.04518.44
5.6.140.0020.05018.38
5.6.130.0080.04118.55
5.6.120.0120.04318.46
5.6.110.0110.03818.24
5.6.100.0060.05018.45
5.6.90.0090.04218.43
5.6.80.0080.03918.06
5.6.70.0140.03718.06
5.6.60.0110.04118.16
5.6.50.0150.03317.99
5.6.40.0130.03717.97
5.6.30.0120.03517.97
5.6.20.0120.03718.00
5.6.10.0030.04618.02
5.6.00.0070.04518.00
5.5.380.0080.04016.75
5.5.370.0100.04216.94
5.5.360.0100.04016.62
5.5.350.0130.03716.69
5.5.340.0140.03716.88
5.5.330.0050.04417.11
5.5.320.0070.03716.85
5.5.310.0060.03816.91
5.5.300.0080.03816.94
5.5.290.0100.04016.89
5.5.280.0100.04516.99
5.5.270.0080.04616.98
5.5.260.0090.04416.68
5.5.250.0110.04316.73
5.5.240.0080.04016.60
5.5.230.0060.04416.40
5.5.220.0110.04016.62
5.5.210.0100.04016.58
5.5.200.0130.03816.50
5.5.190.0080.04316.50
5.5.180.0140.03616.74
5.5.170.0080.01515.63
5.5.160.0060.04416.58
5.5.150.0080.04316.45
5.5.140.0120.03716.35
5.5.130.0040.03916.55
5.5.120.0080.04116.62
5.5.110.0070.04316.60
5.5.100.0090.02916.76
5.5.90.0110.03416.64
5.5.80.0060.04116.53
5.5.70.0110.03816.53
5.5.60.0060.03716.52
5.5.50.0060.04216.52
5.5.40.0070.04216.54
5.5.30.0120.03216.48
5.5.20.0130.04016.63
5.5.10.0100.03916.52
5.5.00.0060.03616.60
5.4.450.0060.04115.89
5.4.440.0030.04816.08
5.4.430.0080.04016.16
5.4.420.0080.04315.88
5.4.410.0120.03615.95
5.4.400.0100.03515.85
5.4.390.0090.04015.74
5.4.380.0070.04015.76
5.4.370.0110.03315.97
5.4.360.0070.03915.86
5.4.350.0050.04115.73
5.4.340.0090.03915.75
5.4.330.0130.00612.57
5.4.320.0070.04215.95
5.4.310.0050.04115.71
5.4.300.0090.03515.89
5.4.290.0090.03715.87
5.4.280.0100.03715.89
5.4.270.0110.03715.95
5.4.260.0090.03915.93
5.4.250.0070.03315.80
5.4.240.0140.03315.84
5.4.230.0090.03915.78
5.4.220.0080.04015.86
5.4.210.0080.03815.81
5.4.200.0070.04215.84
5.4.190.0090.03215.82
5.4.180.0080.03915.78
5.4.170.0040.03615.76
5.4.160.0030.03415.96
5.4.150.0130.03915.71
5.4.140.0130.03614.52
5.4.130.0070.03714.66
5.4.120.0110.03314.52
5.4.110.0060.04214.68
5.4.100.0080.03614.64
5.4.90.0080.03814.43
5.4.80.0030.04014.46
5.4.70.0060.03814.52
5.4.60.0050.03714.56
5.4.50.0060.03514.63
5.4.40.0120.03314.70
5.4.30.0100.03514.49
5.4.20.0070.03014.59
5.4.10.0090.03914.62
5.4.00.0100.03414.23
5.3.290.0080.04113.88
5.3.280.0090.04113.77
5.3.270.0080.04413.96
5.3.260.0070.03113.88
5.3.250.0110.03813.92
5.3.240.0080.04113.90
5.3.230.0100.03813.80
5.3.220.0100.04013.80
5.3.210.0110.03813.79
5.3.200.0100.03413.80
5.3.190.0140.03513.68
5.3.180.0040.04313.94
5.3.170.0050.03913.84
5.3.160.0030.04313.96
5.3.150.0130.03613.89
5.3.140.0090.03713.85
5.3.130.0090.04013.81
5.3.120.0100.03813.68
5.3.110.0070.03513.81
5.3.100.0060.03913.54
5.3.90.0110.03213.59
5.3.80.0100.03513.65
5.3.70.0070.03813.50
5.3.60.0020.04413.64
5.3.50.0090.03613.54
5.3.40.0090.04013.48
5.3.30.0060.03713.62
5.3.20.0060.04313.33
5.3.10.0020.04213.30
5.3.00.0090.04113.30

preferences:
42.58 ms | 401 KiB | 5 Q