3v4l.org

run code in 300+ PHP versions simultaneously
<?php class UberException extends Exception { public function __construct() { $refTrace = new ReflectionProperty('Exception', 'trace'); $refTrace->setAccessible(true); $refTrace->setValue($this, array(array('file' => 'data.php', 'line' => 20, 'function' => 'super', 'args' => array()))); } } function test() { throw new UberException(); } try { test(); } catch (Exception $e) { var_dump($e->getTrace()); throw $e; }

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.0170.00318.39
8.3.50.0150.00522.03
8.3.40.0110.00418.66
8.3.30.0110.00718.63
8.3.20.0030.00618.84
8.3.10.0040.00420.91
8.3.00.0000.00723.71
8.2.180.0110.00716.50
8.2.170.0110.00422.96
8.2.160.0100.01021.18
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.65
8.2.110.0090.00020.38
8.2.100.0080.00317.84
8.2.90.0030.00519.09
8.2.80.0050.00318.04
8.2.70.0030.00517.75
8.2.60.0060.00317.80
8.2.50.0080.00018.07
8.2.40.0040.00418.09
8.2.30.0000.00819.43
8.2.20.0000.00717.55
8.2.10.0040.00417.79
8.2.00.0050.00317.59
8.1.280.0110.00425.92
8.1.270.0030.00523.99
8.1.260.0160.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00623.92
8.1.230.0100.00020.97
8.1.220.0040.00418.77
8.1.210.0040.00418.93
8.1.200.0000.01017.24
8.1.190.0030.00517.66
8.1.180.0030.00618.10
8.1.170.0040.00418.50
8.1.160.0000.00818.88
8.1.150.0000.00718.69
8.1.140.0000.00717.41
8.1.130.0030.00317.73
8.1.120.0060.00317.39
8.1.110.0050.00317.34
8.1.100.0030.00517.38
8.1.90.0040.00417.44
8.1.80.0040.00417.34
8.1.70.0000.00717.29
8.1.60.0070.00317.63
8.1.50.0000.00817.50
8.1.40.0040.00417.52
8.1.30.0040.00417.65
8.1.20.0000.00817.64
8.1.10.0000.00717.63
8.1.00.0040.00417.39
8.0.300.0050.00319.97
8.0.290.0040.00417.16
8.0.280.0040.00418.30
8.0.270.0000.00717.12
8.0.260.0000.00616.80
8.0.250.0000.00716.96
8.0.240.0030.00616.81
8.0.230.0070.00016.95
8.0.220.0000.00716.82
8.0.210.0000.00816.76
8.0.200.0070.00016.98
8.0.190.0040.00416.86
8.0.180.0050.00216.80
8.0.170.0040.00416.92
8.0.160.0040.00416.94
8.0.150.0030.00516.97
8.0.140.0040.00416.95
8.0.130.0030.00613.33
8.0.120.0040.00416.89
8.0.110.0000.00816.84
8.0.100.0000.00716.98
8.0.90.0030.00316.92
8.0.80.0120.00316.89
8.0.70.0040.00416.90
8.0.60.0040.00416.82
8.0.50.0000.00716.94
8.0.30.0050.01417.16
8.0.20.0150.00517.40
8.0.10.0000.00717.18
8.0.00.0150.00816.87
7.4.330.0000.00514.66
7.4.320.0000.00616.49
7.4.300.0030.00316.59
7.4.290.0050.00316.52
7.4.280.0070.00016.53
7.4.270.0030.00616.50
7.4.260.0050.00013.27
7.4.250.0000.00816.60
7.4.240.0070.00016.63
7.4.230.0030.00316.39
7.4.220.0140.00616.53
7.4.210.0080.00816.53
7.4.200.0000.00716.57
7.4.190.0030.00316.57
7.4.160.0070.01016.46
7.4.150.0070.01217.40
7.4.140.0130.00517.86
7.4.130.0070.01416.52
7.4.120.0080.01016.60
7.4.110.0120.00916.67
7.4.100.0110.00716.53
7.4.90.0120.00616.44
7.4.80.0110.01119.39
7.4.70.0080.00816.54
7.4.60.0160.00916.33
7.4.50.0050.00316.70
7.4.40.0040.00722.52
7.4.30.0140.00616.50
7.4.00.0050.01014.83
7.3.330.0000.00513.37
7.3.320.0030.00313.12
7.3.310.0000.00716.39
7.3.300.0030.00316.37
7.3.290.0030.01216.30
7.3.280.0060.01016.34
7.3.270.0100.00717.40
7.3.260.0110.00918.24
7.3.250.0050.01216.33
7.3.240.0080.00816.36
7.3.230.0070.01016.41
7.3.210.0130.00916.40
7.3.200.0070.01119.39
7.3.190.0100.00716.37
7.3.180.0090.00616.43
7.3.170.0150.00916.46
7.3.160.0070.01016.40
7.3.120.0030.01414.94
7.3.110.0000.01614.55
7.3.100.0080.00314.85
7.3.90.0090.00314.75
7.3.80.0120.00614.52
7.3.70.0070.01014.82
7.3.60.0080.00814.92
7.3.50.0070.00714.89
7.3.40.0040.00514.88
7.3.30.0040.00814.60
7.3.20.0030.01316.43
7.3.10.0070.01016.69
7.3.00.0060.00716.57
7.2.330.0120.00616.82
7.2.320.0080.01116.68
7.2.310.0030.01516.60
7.2.300.0060.01116.38
7.2.290.0060.01216.77
7.2.250.0120.00615.09
7.2.240.0060.01314.90
7.2.230.0080.00814.80
7.2.220.0100.00714.91
7.2.210.0100.00615.24
7.2.200.0000.01514.95
7.2.190.0120.00415.06
7.2.180.0000.01415.10
7.2.170.0080.00815.02
7.2.130.0060.00616.47
7.2.120.0120.00316.75
7.2.110.0030.00916.76
7.2.100.0000.00816.75
7.2.90.0070.00717.06
7.2.80.0040.01216.57
7.2.70.0100.00316.89
7.2.60.0020.00716.81
7.2.50.0080.01617.04
7.2.40.0000.01816.74
7.2.30.0120.00316.93
7.2.20.0100.01016.94
7.2.10.0040.01216.96
7.2.00.0040.01116.73
7.1.330.0030.01515.76
7.1.320.0030.01315.75
7.1.310.0060.00915.70
7.1.300.0030.01015.66
7.1.290.0030.01215.84
7.1.280.0070.00715.84
7.1.270.0100.00315.75
7.1.260.0040.01215.81
7.1.250.0030.01015.68
7.1.240.0030.01015.56
7.1.230.0070.00315.51
7.1.220.0090.00315.84
7.1.210.0060.00615.93
7.1.200.0180.00515.62
7.1.190.0070.01015.66
7.1.180.0040.01015.70
7.1.170.0030.00915.86
7.1.160.0110.01115.68
7.1.150.0030.01315.53
7.1.140.0190.00015.65
7.1.130.0030.00715.70
7.1.120.0030.00915.57
7.1.110.0040.01215.94
7.1.100.0060.00915.75
7.1.90.0000.00815.68
7.1.80.0070.00715.63
7.1.70.0030.00916.49
7.1.60.0100.01017.55
7.1.50.0070.01116.25
7.1.40.0100.00315.80
7.1.30.0030.00915.74
7.1.20.0000.01515.88
7.1.10.0060.00615.33
7.1.00.0080.03918.98
7.0.330.0000.01215.59
7.0.320.0070.00015.26
7.0.310.0000.01115.44
7.0.300.0000.01715.32
7.0.290.0060.00915.27
7.0.280.0170.00415.38
7.0.270.0140.00315.54
7.0.260.0070.00715.32
7.0.250.0070.00715.50
7.0.240.0030.01015.24
7.0.230.0070.00615.34
7.0.220.0130.00015.48
7.0.210.0060.00915.34
7.0.200.0050.00615.88
7.0.190.0030.00715.17
7.0.180.0070.00715.26
7.0.170.0040.00415.42
7.0.160.0060.00915.39
7.0.150.0000.01415.06
7.0.140.0070.03718.64
7.0.130.0100.00315.38
7.0.120.0100.00615.46
7.0.110.0000.01015.52
7.0.100.0000.01315.21
7.0.90.0000.01115.11
7.0.80.0060.00915.24
7.0.70.0080.04118.61
7.0.60.0040.04618.62
7.0.50.0080.03518.77
7.0.40.0030.03316.80
7.0.30.0080.04316.72
7.0.20.0000.03516.78
7.0.10.0050.04516.69
7.0.00.0070.02516.73
5.6.380.0090.00214.25
5.6.370.0080.00414.49
5.6.360.0000.01514.32
5.6.350.0080.01214.24
5.6.340.0130.00814.37
5.6.330.0040.01614.24
5.6.320.0110.00914.38
5.6.310.0130.00414.46
5.6.300.0060.00614.17
5.6.290.0080.00814.15
5.6.280.0020.04017.43
5.6.270.0070.00714.25
5.6.260.0090.00614.04
5.6.250.0030.01014.12
5.6.240.0060.00614.16
5.6.230.0040.01214.09
5.6.220.0070.03617.56
5.6.210.0050.04017.37
5.6.200.0070.04217.66
5.6.190.0070.04317.69
5.6.180.0090.04217.77
5.6.170.0050.04017.59
5.6.160.0040.04117.61
5.6.150.0060.03017.61
5.6.140.0060.04117.70
5.6.130.0090.03917.63
5.6.120.0050.04417.70
5.6.110.0050.04317.74
5.6.100.0050.04717.84
5.6.90.0060.02717.56
5.6.80.0020.04517.24
5.6.70.0020.04817.42
5.6.60.0050.02217.24
5.6.50.0030.04317.40
5.6.40.0050.04217.35
5.6.30.0030.04817.36
5.6.20.0050.04217.40
5.6.10.0050.04417.20
5.6.00.0070.04217.40
5.5.380.0120.00010.98
5.5.370.0070.00011.26
5.5.360.0030.03815.69
5.5.350.0070.04415.67
5.5.340.0110.03815.96
5.5.330.0040.04616.02
5.5.320.0020.04815.82
5.5.310.0030.03715.98
5.5.300.0050.03815.80
5.5.290.0000.04915.87
5.5.280.0020.04815.96
5.5.270.0050.03615.98
5.5.260.0080.04215.96
5.5.250.0050.04215.89
5.5.240.0060.04315.71
5.5.230.0050.02815.59
5.5.220.0070.04015.55
5.5.210.0080.04015.66
5.5.200.0040.03715.59
5.5.190.0020.03115.65
5.5.180.0030.04515.50
5.5.170.0060.00610.88
5.5.160.0030.02415.70
5.5.150.0100.03815.44
5.5.140.0030.04415.63
5.5.130.0050.04515.68
5.5.120.0050.03615.40
5.5.110.0080.04015.58
5.5.100.0020.04215.55
5.5.90.0030.04415.49
5.5.80.0040.04315.61
5.5.70.0030.04515.38
5.5.60.0030.03115.44
5.5.50.0090.03815.65
5.5.40.0050.03015.42
5.5.30.0030.04315.42
5.5.20.0070.02915.61
5.5.10.0020.04215.59
5.5.00.0040.03915.49
5.4.450.0070.04115.09
5.4.440.0080.03315.10
5.4.430.0090.04115.12
5.4.420.0000.05015.09
5.4.410.0050.03315.15
5.4.400.0030.04114.84
5.4.390.0060.04014.77
5.4.380.0000.03014.95
5.4.370.0030.04314.93
5.4.360.0070.04214.96
5.4.350.0080.02815.08
5.4.340.0020.03915.11
5.4.330.0030.00311.17
5.4.320.0030.02814.87
5.4.310.0030.04415.07
5.4.300.0020.04114.98
5.4.290.0020.03214.92
5.4.280.0050.02615.08
5.4.270.0100.03915.06
5.4.260.0050.04114.90
5.4.250.0070.04014.98
5.4.240.0070.04215.01
5.4.230.0060.03515.02
5.4.220.0030.04415.14
5.4.210.0040.03614.78
5.4.200.0070.03814.69
5.4.190.0080.03814.96
5.4.180.0010.04314.95
5.4.170.0080.03614.96
5.4.160.0040.03514.88
5.4.150.0070.04214.93
5.4.140.0060.03013.72
5.4.130.0050.03813.80
5.4.120.0060.02713.60
5.4.110.0040.04213.73
5.4.100.0040.03913.77
5.4.90.0040.03713.72
5.4.80.0030.03313.75
5.4.70.0050.03613.77
5.4.60.0050.03713.61
5.4.50.0050.03313.57
5.4.40.0030.02813.66
5.4.30.0050.03213.66
5.4.20.0020.02913.56
5.4.10.0030.03013.60
5.4.00.0020.04013.35
5.3.290.0050.04312.57
5.3.280.0030.04312.49
5.3.270.0060.03812.53
5.3.260.0020.04412.67
5.3.250.0040.03512.60
5.3.240.0050.03312.62
5.3.230.0040.02512.47
5.3.220.0010.04312.47
5.3.210.0000.03212.57
5.3.200.0030.04112.64
5.3.190.0070.03812.64
5.3.180.0020.04012.70
5.3.170.0040.02512.56
5.3.160.0020.03812.71
5.3.150.0060.03812.69
5.3.140.0010.04412.55
5.3.130.0070.03812.62
5.3.120.0050.04312.62
5.3.110.0020.04212.57
5.3.100.0050.04012.42
5.3.90.0020.03712.36
5.3.80.0020.03712.27
5.3.70.0030.04012.30
5.3.60.0030.03112.43
5.3.50.0100.03312.33
5.3.40.0030.04112.29
5.3.30.0020.04112.19
5.3.20.0030.03312.06
5.3.10.0050.03712.11
5.3.00.0030.04112.09
5.2.170.0020.03411.09
5.2.160.0020.03311.09
5.2.150.0020.03211.09
5.2.140.0000.03511.09
5.2.130.0030.02211.09
5.2.120.0050.03011.09
5.2.110.0020.03711.09
5.2.100.0030.03211.09
5.2.90.0020.03011.09
5.2.80.0040.03211.09
5.2.70.0050.03011.09
5.2.60.0050.03311.09
5.2.50.0010.03511.09
5.2.40.0020.02611.09
5.2.30.0000.03511.09
5.2.20.0020.03111.09
5.2.10.0040.03211.09
5.2.00.0020.02311.09
5.1.60.0050.02911.09
5.1.50.0020.02711.09
5.1.40.0030.02511.09
5.1.30.0020.03111.09
5.1.20.0050.03111.09
5.1.10.0000.02611.09
5.1.00.0020.03211.09
5.0.50.0020.01311.09
5.0.40.0040.02311.09
5.0.30.0030.01811.09
5.0.20.0040.01511.09
5.0.10.0000.02711.09
5.0.00.0050.03111.09
4.4.90.0000.02011.09
4.4.80.0020.01911.09
4.4.70.0050.01811.09
4.4.60.0050.01611.09
4.4.50.0020.01811.09
4.4.40.0020.02711.09
4.4.30.0010.01811.09
4.4.20.0030.01811.09
4.4.10.0000.01511.09
4.4.00.0030.02711.09
4.3.110.0000.01111.09
4.3.100.0000.01811.09
4.3.90.0030.01811.09
4.3.80.0040.03011.09
4.3.70.0020.01311.09
4.3.60.0010.02011.09
4.3.50.0010.01811.09
4.3.40.0000.02911.09
4.3.30.0050.01611.09
4.3.20.0020.02011.09
4.3.10.0030.01211.09
4.3.00.0020.01811.09

preferences:
41.63 ms | 401 KiB | 5 Q