3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a[1]; /* throw new MyException('This is a really bad error', 123); final public ExceptionException::getPrevious ( void ) error_reporting(E_ALL); function exception_error_handler($errno, $errstr, $errfile, $errline ) { throw new ErrorException($errstr, '00007600', $errno, $errfile, $errline, new Exception('jjj')); } set_error_handler("exception_error_handler"); try { echo $x; } catch(Exception $e) { var_dump($e->getPrevious()); }*/

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.0100.00718.31
8.3.50.0080.01521.21
8.3.40.0120.00618.64
8.3.30.0030.01020.21
8.3.20.0030.00620.18
8.3.10.0040.00422.01
8.3.00.0050.00322.51
8.2.180.0100.01016.38
8.2.170.0170.00322.96
8.2.160.0110.00422.25
8.2.150.0070.00724.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0070.00020.93
8.2.110.0030.00622.20
8.2.100.0000.01217.78
8.2.90.0070.00019.26
8.2.80.0000.00719.33
8.2.70.0100.00017.50
8.2.60.0090.00017.93
8.2.50.0080.00018.07
8.2.40.0040.00418.22
8.2.30.0070.00319.46
8.2.20.0000.00717.57
8.2.10.0030.00517.68
8.2.00.0030.00917.58
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00023.92
8.1.230.0070.00419.16
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0080.00417.10
8.1.190.0000.00817.27
8.1.180.0000.00818.89
8.1.170.0030.00518.49
8.1.160.0040.00420.66
8.1.150.0040.00418.48
8.1.140.0070.00017.19
8.1.130.0070.00017.68
8.1.120.0040.00417.32
8.1.110.0080.00017.20
8.1.100.0040.00717.23
8.1.90.0000.00717.23
8.1.80.0000.00717.32
8.1.70.0000.00717.17
8.1.60.0040.00417.46
8.1.50.0000.00817.36
8.1.40.0000.00817.39
8.1.30.0040.00417.34
8.1.20.0040.00417.54
8.1.10.0040.00417.45
8.1.00.0000.00717.32
8.0.300.0070.00018.77
8.0.290.0100.00016.93
8.0.280.0070.00018.18
8.0.270.0070.00017.13
8.0.260.0060.00016.62
8.0.250.0030.00316.78
8.0.240.0020.00516.79
8.0.230.0030.00316.89
8.0.220.0000.00716.69
8.0.210.0000.00816.68
8.0.200.0000.00616.81
8.0.190.0000.00716.79
8.0.180.0040.00416.90
8.0.170.0090.00016.75
8.0.160.0040.00416.69
8.0.150.0040.00416.83
8.0.140.0040.00416.68
8.0.130.0030.00313.23
8.0.120.0040.00416.83
8.0.110.0040.00416.85
8.0.100.0040.00316.61
8.0.90.0000.00816.69
8.0.80.0080.00816.74
8.0.70.0070.00016.92
8.0.60.0000.00716.68
8.0.50.0040.00416.81
8.0.30.0100.01217.01
8.0.20.0060.01217.40
8.0.10.0000.00716.82
8.0.00.0070.01516.84
7.4.330.0050.00015.00
7.4.320.0030.00316.50
7.4.300.0000.00616.39
7.4.290.0040.00416.50
7.4.280.0000.00716.46
7.4.270.0000.00616.47
7.4.260.0000.00613.11
7.4.250.0040.00416.28
7.4.240.0040.00416.47
7.4.230.0030.00316.36
7.4.220.0040.01516.39
7.4.210.0100.00716.43
7.4.200.0000.00716.27
7.4.190.0000.00716.41
7.4.160.0050.01116.38
7.4.150.0130.00317.40
7.4.140.0100.01017.86
7.4.130.0090.00816.39
7.4.120.0050.01216.26
7.4.110.0110.00516.36
7.4.100.0070.01016.35
7.4.90.0100.00716.45
7.4.80.0110.01019.39
7.4.70.0030.01316.30
7.4.60.0100.00716.55
7.4.50.0000.00916.28
7.4.40.0090.00622.77
7.4.30.0120.00616.52
7.4.00.0070.00914.95
7.3.330.0060.00013.18
7.3.320.0000.00513.09
7.3.310.0040.00416.25
7.3.300.0000.00816.27
7.3.290.0070.00716.24
7.3.280.0060.00916.22
7.3.270.0100.00717.40
7.3.260.0090.00916.32
7.3.250.0070.01016.29
7.3.240.0100.01016.42
7.3.230.0090.00916.39
7.3.210.0060.01016.40
7.3.200.0090.01319.39
7.3.190.0100.00716.30
7.3.180.0040.01216.33
7.3.170.0100.00716.44
7.3.160.0040.01216.31
7.3.120.0070.00814.51
7.3.110.0060.01114.65
7.3.100.0000.01114.68
7.3.90.0020.01214.66
7.3.80.0050.00814.74
7.3.70.0070.00914.68
7.3.60.0020.01314.78
7.3.50.0030.00914.64
7.3.40.0040.00814.62
7.3.30.0050.00914.70
7.3.20.0100.00516.59
7.3.10.0050.01016.59
7.3.00.0040.01216.52
7.2.330.0100.01316.30
7.2.320.0090.01216.20
7.2.310.0120.00616.54
7.2.300.0040.01216.39
7.2.290.0130.00316.28
7.2.250.0030.01614.75
7.2.240.0050.01314.96
7.2.230.0090.00714.68
7.2.220.0050.00814.96
7.2.210.0040.01114.61
7.2.200.0030.01214.86
7.2.190.0060.01014.77
7.2.180.0080.00614.91
7.2.170.0050.01014.85
7.2.160.0080.00414.98
7.2.150.0030.00816.83
7.2.140.0080.00416.89
7.2.130.0030.01316.84
7.2.120.0070.01116.73
7.2.110.0100.00616.65
7.2.100.0030.01316.63
7.2.90.0030.01416.87
7.2.80.0070.00716.54
7.2.70.0000.01516.78
7.2.60.0040.01216.72
7.2.50.0040.01116.96
7.2.40.0100.00316.81
7.2.30.0060.01016.62
7.2.20.0080.00816.83
7.2.10.0070.00316.82
7.2.00.0050.00818.01
7.1.330.0080.00615.58
7.1.320.0030.01015.82
7.1.310.0050.01115.66
7.1.300.0050.01115.72
7.1.290.0100.00515.69
7.1.280.0090.00615.69
7.1.270.0050.01015.80
7.1.260.0080.00515.68
7.1.250.0040.00815.57
7.1.100.0060.01218.19
7.1.70.0060.00317.15
7.1.60.0040.01119.32
7.1.50.0060.01816.52
7.1.00.0030.03722.32
7.0.200.0430.00814.78
7.0.140.0030.07322.00
7.0.100.0070.07720.03
7.0.90.0070.04319.89
7.0.80.0030.07720.01
7.0.70.0170.07019.88
7.0.60.0070.07719.98
7.0.50.0030.08720.20
7.0.40.0000.04020.11
7.0.30.0100.05319.95
7.0.20.0070.09720.08
7.0.10.0030.06020.14
7.0.00.0070.08720.03
5.6.280.0070.07020.98
5.6.250.0030.08320.62
5.6.240.0030.06720.71
5.6.230.0000.04020.61
5.6.220.0100.03720.60
5.6.210.0070.03320.61
5.6.200.0100.07720.93
5.6.190.0030.07321.10
5.6.180.0070.08720.93
5.6.170.0130.07721.03
5.6.160.0170.07321.05
5.6.150.0100.07720.95
5.6.140.0100.08021.12
5.6.130.0000.09321.10
5.6.120.0100.05320.94
5.6.110.0070.08321.15
5.6.100.0030.04021.03
5.6.90.0000.04021.14
5.6.80.0100.06320.44
5.6.70.0070.07320.38
5.6.60.0100.07720.50
5.6.50.0070.07020.38
5.6.40.0200.06720.26
5.6.30.0000.08320.39
5.6.20.0170.07320.39
5.6.10.0070.06720.38
5.6.00.0070.05320.41
5.5.380.0130.04720.41
5.5.370.0000.04020.36
5.5.360.0070.07320.39
5.5.350.0030.08320.41
5.5.340.0170.06720.79
5.5.330.0100.07720.76
5.5.320.0130.06720.89
5.5.310.0100.08320.77
5.5.300.0130.05020.72
5.5.290.0000.04020.89
5.5.280.0030.04320.85
5.5.270.0170.06720.81
5.5.260.0030.03720.88
5.5.250.0070.09320.63
5.5.240.0100.06320.15
5.5.230.0070.03020.29
5.5.220.0030.08020.22
5.5.210.0070.03320.25
5.5.200.0030.04320.26
5.5.190.0000.03720.27
5.5.180.0070.07320.27
5.5.160.0170.05320.11
5.5.150.0100.06320.13
5.5.140.0030.07319.95
5.5.130.0200.04320.23
5.5.120.0070.04320.20
5.5.110.0070.06320.20
5.5.100.0030.05320.17
5.5.90.0070.08020.00
5.5.80.0070.03720.16
5.5.70.0000.08720.05
5.5.60.0070.04020.09
5.5.50.0070.07719.99
5.5.40.0000.06720.07
5.5.30.0030.03720.04
5.5.20.0030.07319.98
5.5.10.0030.05019.94
5.5.00.0100.07720.03
5.4.450.0100.06319.40
5.4.440.0100.07019.32
5.4.430.0070.07319.38
5.4.420.0030.03319.42
5.4.410.0100.04319.09
5.4.400.0130.06318.91
5.4.390.0000.08019.10
5.4.380.0070.06719.14
5.4.370.0000.03719.10
5.4.360.0170.06018.92
5.4.350.0200.06019.14
5.4.340.0000.08019.03
5.4.320.0130.03019.03
5.4.310.0070.03719.12
5.4.300.0070.03019.03
5.4.290.0070.06718.75
5.4.280.0070.08019.07
5.4.270.0070.03319.09
5.4.260.0030.05018.97
5.4.250.0030.03318.89
5.4.240.0070.07019.07
5.4.230.0030.03319.02
5.4.220.0070.07319.04
5.4.210.0100.05019.13
5.4.200.0030.05319.11
5.4.190.0070.07318.97
5.4.180.0070.07019.13
5.4.170.0030.06319.04
5.4.160.0070.04019.07
5.4.150.0030.04018.96
5.4.140.0070.07716.13
5.4.130.0170.03316.12
5.4.120.0030.03716.29
5.4.110.0030.03316.21
5.4.100.0100.04016.34
5.4.90.0100.05316.41
5.4.80.0000.03316.22
5.4.70.0170.06716.32
5.4.60.0070.06016.33
5.4.50.0100.06316.23
5.4.40.0000.03316.29
5.4.30.0070.04016.34
5.4.20.0030.06316.27
5.4.10.0070.07016.30
5.4.00.0030.07015.73
5.3.290.0130.06314.61
5.3.280.0070.08014.44
5.3.270.0000.03714.59
5.3.260.0030.05314.59
5.3.250.0100.07714.60
5.3.240.0100.06314.57
5.3.230.0070.03314.56
5.3.220.0070.06314.38
5.3.210.0100.07014.52
5.3.200.0130.03714.54
5.3.190.0000.04014.55
5.3.180.0070.04714.41
5.3.170.0030.03314.39
5.3.160.0100.07014.41
5.3.150.0100.07314.38
5.3.140.0000.03314.51
5.3.130.0170.07014.53
5.3.120.0030.06714.48
5.3.110.0100.06014.40
5.3.100.0000.05013.99
5.3.90.0030.05014.01
5.3.80.0100.06013.77
5.3.70.0070.07013.96
5.3.60.0070.07713.99
5.3.50.0030.08013.80
5.3.40.0070.03713.85
5.3.30.0070.03713.86
5.3.20.0070.07013.64
5.3.10.0030.07013.51
5.3.00.0070.08313.40
5.2.170.0030.05011.20
5.2.160.0000.03011.19
5.2.150.0000.02711.00
5.2.140.0000.06010.95
5.2.130.0000.02711.16
5.2.120.0130.04011.13
5.2.110.0070.04711.08
5.2.100.0130.03010.88
5.2.90.0000.06011.09
5.2.80.0130.05710.84
5.2.70.0070.05311.05
5.2.60.0100.04010.97
5.2.50.0070.05310.96
5.2.40.0000.06010.91
5.2.30.0030.03010.82
5.2.20.0000.05310.94
5.2.10.0130.04310.93
5.2.00.0000.04010.76
5.1.60.0000.0409.98
5.1.50.0000.0579.97
5.1.40.0030.0309.96
5.1.30.0000.05310.36
5.1.20.0070.05310.27
5.1.10.0000.06010.12
5.1.00.0000.0309.90
5.0.50.0000.0378.54
5.0.40.0030.0338.29
5.0.30.0000.0578.23
5.0.20.0070.0378.27
5.0.10.0000.0308.22
5.0.00.0000.0378.21
4.4.90.0030.0208.12
4.4.80.0000.0208.12
4.4.70.0070.0338.12
4.4.60.0030.0338.12
4.4.50.0030.0278.12
4.4.40.0030.0538.12
4.4.30.0030.0178.12
4.4.20.0000.0238.12
4.4.10.0070.0238.12
4.4.00.0000.0278.12
4.3.110.0000.0238.12
4.3.100.0030.0178.12
4.3.90.0000.0178.12
4.3.80.0030.0578.12
4.3.70.0070.0238.12
4.3.60.0030.0338.12
4.3.50.0000.0308.12
4.3.40.0000.0278.12
4.3.30.0070.0138.12
4.3.20.0000.0178.12
4.3.10.0000.0378.12
4.3.00.0070.0138.12

preferences:
99.73 ms | 401 KiB | 5 Q