3v4l.org

run code in 300+ PHP versions simultaneously
<?php class InvalidPage extends Exception {} class PageNotAnInteger extends InvalidPage {} class EmptyPage extends InvalidPage {} try { throw new PageNotAnInteger; } catch(PageNotAnInteger $e) { echo get_class($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.0070.01418.38
8.3.50.0150.00221.21
8.3.40.0060.01318.94
8.3.30.0100.00320.32
8.3.20.0030.00520.20
8.3.10.0050.00320.98
8.3.00.0080.00022.52
8.2.180.0000.01516.60
8.2.170.0070.00722.96
8.2.160.0070.00722.16
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.90
8.2.110.0080.00019.35
8.2.100.0080.00417.91
8.2.90.0000.00919.22
8.2.80.0060.00317.97
8.2.70.0040.00417.75
8.2.60.0040.00418.04
8.2.50.0060.00318.07
8.2.40.0050.00318.15
8.2.30.0000.00719.32
8.2.20.0000.00817.77
8.2.10.0050.00217.71
8.2.00.0000.00717.66
8.1.280.0100.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.49
8.1.230.0060.00620.91
8.1.220.0030.00618.77
8.1.210.0030.00618.99
8.1.200.0030.00617.23
8.1.190.0050.00317.53
8.1.180.0080.00018.10
8.1.170.0090.00018.69
8.1.160.0040.00418.89
8.1.150.0040.00418.60
8.1.140.0000.00717.48
8.1.130.0000.00717.78
8.1.120.0000.00717.50
8.1.110.0000.00817.41
8.1.100.0000.00717.43
8.1.90.0000.00717.48
8.1.80.0030.00317.48
8.1.70.0040.00417.44
8.1.60.0030.00517.47
8.1.50.0070.00017.48
8.1.40.0040.00417.53
8.1.30.0060.00317.54
8.1.20.0000.00817.48
8.1.10.0020.00517.61
8.1.00.0000.00817.52
8.0.300.0040.00419.91
8.0.290.0000.00717.16
8.0.280.0030.00318.44
8.0.270.0030.00317.17
8.0.260.0030.00318.49
8.0.250.0000.00716.89
8.0.240.0070.00017.07
8.0.230.0030.00316.86
8.0.220.0070.00016.84
8.0.210.0070.00016.86
8.0.200.0060.00016.84
8.0.190.0050.00316.93
8.0.180.0040.00416.95
8.0.170.0000.00816.82
8.0.160.0070.00016.83
8.0.150.0000.00716.87
8.0.140.0000.00816.89
8.0.130.0050.00013.42
8.0.120.0000.00816.89
8.0.110.0040.00416.84
8.0.100.0030.00516.85
8.0.90.0040.00416.90
8.0.80.0100.00716.92
8.0.70.0040.00416.95
8.0.60.0040.00416.85
8.0.50.0040.00416.95
8.0.30.0120.00817.18
8.0.20.0080.01017.40
8.0.10.0040.00417.12
8.0.00.0140.00616.71
7.4.330.0050.00016.66
7.4.320.0000.00716.45
7.4.300.0000.00716.59
7.4.290.0000.00716.63
7.4.280.0050.00316.50
7.4.270.0040.00416.61
7.4.260.0030.00313.27
7.4.250.0040.00416.54
7.4.240.0010.00616.55
7.4.230.0000.00716.67
7.4.220.0110.01516.62
7.4.210.0100.00616.48
7.4.200.0030.00316.45
7.4.190.0070.00016.45
7.4.160.0030.01216.53
7.4.150.0140.00317.40
7.4.140.0050.01517.86
7.4.130.0130.00816.41
7.4.120.0080.00816.50
7.4.110.0170.00016.36
7.4.100.0030.01516.55
7.4.90.0140.00416.47
7.4.80.0130.01019.39
7.4.70.0070.01016.54
7.4.60.0120.00916.36
7.4.50.0000.00816.54
7.4.40.0030.01422.77
7.4.30.0030.01316.51
7.4.00.0040.00815.11
7.3.330.0060.00013.44
7.3.320.0000.00513.34
7.3.310.0070.00016.21
7.3.300.0030.00316.37
7.3.290.0090.00616.38
7.3.280.0100.00616.34
7.3.270.0130.00317.40
7.3.260.0030.01318.24
7.3.250.0060.01416.44
7.3.240.0110.01116.40
7.3.230.0080.00816.56
7.3.210.0110.00716.54
7.3.200.0100.00619.39
7.3.190.0030.01316.48
7.3.180.0120.00316.50
7.3.170.0060.01016.44
7.3.160.0080.00816.45
7.3.120.0030.01414.85
7.3.10.0030.00716.53
7.3.00.0000.01216.41
7.2.330.0100.00716.73
7.2.320.0120.00916.44
7.2.310.0090.00616.65
7.2.300.0120.00416.66
7.2.290.0100.00916.48
7.2.130.0030.00617.00
7.2.120.0040.00716.53
7.2.110.0060.00617.02
7.2.100.0030.00616.76
7.2.90.0060.00617.01
7.2.80.0060.00616.97
7.2.70.0100.00317.04
7.2.60.0060.00516.82
7.2.50.0070.00317.02
7.2.40.0070.00416.70
7.2.30.0070.00316.73
7.2.20.0110.00017.07
7.2.10.0100.00016.70
7.2.00.0020.01317.93
7.1.250.0050.00315.75
7.1.200.0000.01215.73
7.1.100.0070.00418.13
7.1.70.0060.00316.84
7.1.60.0100.01419.17
7.1.50.0040.01916.96
7.1.00.0000.03722.28
7.0.200.2290.00714.62
7.0.140.0070.07021.96
7.0.100.0200.03320.00
7.0.90.0100.03719.93
7.0.80.0200.07319.90
7.0.70.0270.04019.99
7.0.60.0230.08019.92
7.0.50.0100.03720.39
7.0.40.0070.07720.02
7.0.30.0030.04320.09
7.0.20.0100.08020.15
7.0.10.0130.03320.14
7.0.00.0000.07320.05
5.6.280.0000.07721.11
5.6.250.0130.05320.63
5.6.240.0030.06320.63
5.6.230.0130.08020.53
5.6.220.0000.06020.51
5.6.210.0070.04320.59
5.6.200.0000.08021.06
5.6.190.0130.08020.97
5.6.180.0070.07021.08
5.6.170.0130.07321.12
5.6.160.0170.06721.10
5.6.150.0070.06321.07
5.6.140.0170.07020.96
5.6.130.0100.07320.93
5.6.120.0100.08321.09
5.6.110.0130.07021.08
5.6.100.0070.06321.01
5.6.90.0100.08320.95
5.6.80.0030.07720.41
5.6.70.0070.07720.32
5.6.60.0030.07320.41
5.6.50.0100.07320.43
5.6.40.0100.03320.30
5.6.30.0000.07720.34
5.6.20.0100.07720.32
5.6.10.0070.06320.42
5.6.00.0070.07020.29
5.5.380.0000.09020.39
5.5.370.0070.08020.46
5.5.360.0070.08020.57
5.5.350.0070.08720.35
5.5.340.0030.08320.91
5.5.330.0000.08720.77
5.5.320.0000.04720.90
5.5.310.0100.07320.93
5.5.300.0070.03720.87
5.5.290.0170.09020.84
5.5.280.0030.05020.92
5.5.270.0000.08720.74
5.5.260.0030.07720.93
5.5.250.0130.06720.60
5.5.240.0170.07320.13
5.5.230.0100.07320.27
5.5.220.0030.08020.30
5.5.210.0030.04020.29
5.5.200.0100.07020.16
5.5.190.0130.03020.24
5.5.180.0100.07720.14
5.5.160.0000.09020.00
5.5.150.0070.06720.16
5.5.140.0170.05020.20
5.5.130.0030.04020.23
5.5.120.0100.03720.11
5.5.110.0100.07320.23
5.5.100.0000.04020.09
5.5.90.0030.04720.16
5.5.80.0030.05720.12
5.5.70.0030.05320.07
5.5.60.0070.07320.11
5.5.50.0070.08020.07
5.5.40.0070.07720.17
5.5.30.0100.08020.15
5.5.20.0030.08720.01
5.5.10.0070.05020.12
5.5.00.0070.03320.03
5.4.450.0070.04019.39
5.4.440.0000.07319.20
5.4.430.0070.08019.42
5.4.420.0100.06319.18
5.4.410.0070.06319.04
5.4.400.0000.05719.19
5.4.390.0000.04019.03
5.4.380.0100.03319.18
5.4.370.0100.06719.05
5.4.360.0070.06319.21
5.4.350.0070.07318.90
5.4.340.0070.07719.09
5.4.320.0000.08319.00
5.4.310.0070.06318.91
5.4.300.0070.03719.04
5.4.290.0100.03319.04
5.4.280.0030.03719.07
5.4.270.0100.07319.05
5.4.260.0030.05319.20
5.4.250.0070.06319.15
5.4.240.0030.07019.13
5.4.230.0070.04019.11
5.4.220.0000.07019.14
5.4.210.0070.03319.04
5.4.200.0000.04019.09
5.4.190.0130.07019.15
5.4.180.0030.08019.20
5.4.170.0070.04719.12
5.4.160.0130.06019.02
5.4.150.0070.03719.11
5.4.140.0070.05716.40
5.4.130.0100.06316.39
5.4.120.0000.04016.38
5.4.110.0070.08016.48
5.4.100.0100.06016.45
5.4.90.0070.03016.39
5.4.80.0070.03316.43
5.4.70.0000.03716.36
5.4.60.0070.06016.39
5.4.50.0000.03716.53
5.4.40.0000.07716.45
5.4.30.0130.06716.39
5.4.20.0000.04016.43
5.4.10.0070.03316.47
5.4.00.0100.04715.70
5.3.290.0000.03714.67
5.3.280.0100.07714.72
5.3.270.0070.07714.65
5.3.260.0070.04014.73
5.3.250.0030.07014.72
5.3.240.0070.06314.62
5.3.230.0030.05314.67
5.3.220.0070.07014.51
5.3.210.0100.07014.67
5.3.200.0030.06314.64
5.3.190.0030.07714.51
5.3.180.0130.07014.57
5.3.170.0030.05714.54
5.3.160.0100.06714.52
5.3.150.0130.06714.69
5.3.140.0070.07014.52
5.3.130.0130.07014.59
5.3.120.0030.08014.66
5.3.110.0030.07314.54
5.3.100.0070.07014.03
5.3.90.0100.07014.09
5.3.80.0000.04013.93
5.3.70.0070.07713.96
5.3.60.0030.03314.08
5.3.50.0100.07314.01
5.3.40.0030.03714.02
5.3.30.0030.03713.95
5.3.20.0030.03713.68
5.3.10.0030.03313.55
5.3.00.0030.03313.70
5.2.170.0030.06011.64
5.2.160.0030.05711.64
5.2.150.0130.03711.64
5.2.140.0030.02711.64
5.2.130.0000.03011.64
5.2.120.0000.03011.64
5.2.110.0000.03011.64
5.2.100.0130.02011.64
5.2.90.0000.03011.64
5.2.80.0030.02711.64
5.2.70.0000.03011.64
5.2.60.0070.02311.64
5.2.50.0000.03311.64
5.2.40.0000.03011.64
5.2.30.0000.03311.64
5.2.20.0030.02011.64
5.2.10.0100.02011.64
5.2.00.0000.03311.64
5.1.60.0030.02311.64
5.1.50.0000.02711.64
5.1.40.0000.04711.64
5.1.30.0000.02311.64
5.1.20.0070.02711.64
5.1.10.0030.02711.64
5.1.00.0030.02011.64
5.0.50.0000.02311.64
5.0.40.0030.02311.64
5.0.30.0030.03311.64
5.0.20.0000.02011.64
5.0.10.0000.02011.64
5.0.00.0000.03011.64
4.4.90.0030.01311.64
4.4.80.0000.01711.64
4.4.70.0030.01311.64
4.4.60.0030.01311.64
4.4.50.0000.01311.64
4.4.40.0000.02711.64
4.4.30.0000.03311.64
4.4.20.0000.01311.64
4.4.10.0000.01311.64
4.4.00.0000.02311.64
4.3.110.0000.02011.64
4.3.100.0000.03011.64
4.3.90.0030.01011.64
4.3.80.0000.02011.64
4.3.70.0000.01711.64
4.3.60.0030.01311.64
4.3.50.0030.01311.64
4.3.40.0000.02311.64
4.3.30.0000.01711.64
4.3.20.0030.01311.64
4.3.10.0000.01711.64
4.3.00.0000.01311.64

preferences:
60.17 ms | 401 KiB | 5 Q