3v4l.org

run code in 300+ PHP versions simultaneously
<?php function (╯°□°)╯︵┻━┻(){throw new aaa;} class aaa extends Exception {public function __construct() {parent::__construct("Please respect tables! ┬─┬ノ(ಠ_ಠノ)");} public function __toString(){return "┬─┬";}} // try/catch try { (╯°□°)╯︵┻━┻ (); } catch ( aaa $niceguy) {echo $niceguy->getMessage();} // ok now lets see an uncaught one (╯°□°)╯︵┻━┻ ();

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.0140.00716.88
8.3.50.0110.00722.01
8.3.40.0070.00718.79
8.3.30.0110.00419.17
8.3.20.0040.00420.34
8.3.10.0040.00421.79
8.3.00.0040.00419.38
8.2.180.0160.00416.75
8.2.170.0060.00922.96
8.2.160.0100.00720.43
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00019.77
8.2.110.0060.00321.00
8.2.100.0040.00817.91
8.2.90.0040.00419.57
8.2.80.0040.00418.27
8.2.70.0000.00917.93
8.2.60.0000.00917.63
8.2.50.0050.00318.13
8.2.40.0030.00620.46
8.2.30.0040.00418.06
8.2.20.0000.00817.65
8.2.10.0000.00917.98
8.2.00.0040.00417.63
8.1.280.0070.00725.92
8.1.270.0030.00518.82
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0080.00320.52
8.1.230.0000.01220.77
8.1.220.0000.00817.74
8.1.210.0030.00519.04
8.1.200.0040.00417.35
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0030.00618.54
8.1.160.0000.00722.08
8.1.150.0030.00318.76
8.1.140.0060.00317.45
8.1.130.0040.00417.83
8.1.120.0000.00817.47
8.1.110.0000.00717.38
8.1.100.0000.00717.41
8.1.90.0040.00417.38
8.1.80.0040.00417.33
8.1.70.0030.00517.34
8.1.60.0050.00317.55
8.1.50.0060.00317.46
8.1.40.0040.00417.42
8.1.30.0050.00317.69
8.1.20.0000.00817.63
8.1.10.0040.00417.43
8.1.00.0070.00017.52
8.0.300.0040.00420.08
8.0.290.0040.00416.88
8.0.280.0030.00318.32
8.0.270.0000.00716.81
8.0.260.0070.00017.18
8.0.250.0030.00316.93
8.0.240.0050.00317.04
8.0.230.0050.00216.95
8.0.220.0000.00716.93
8.0.210.0000.00716.94
8.0.200.0030.00317.00
8.0.190.0080.00016.89
8.0.180.0040.00416.87
8.0.170.0000.00716.98
8.0.160.0000.00716.95
8.0.150.0030.00516.80
8.0.140.0070.00016.97
8.0.130.0030.00313.40
8.0.120.0040.00416.95
8.0.110.0070.00016.84
8.0.100.0070.00016.98
8.0.90.0040.00417.00
8.0.80.0110.00416.94
8.0.70.0040.00416.93
8.0.60.0000.00716.95
8.0.50.0000.00816.89
8.0.30.0140.00417.17
8.0.20.0110.00917.40
8.0.10.0040.00417.12
8.0.00.0080.01016.95
7.4.330.0050.00015.06
7.4.320.0060.00016.58
7.4.300.0030.00316.59
7.4.290.0000.00716.59
7.4.280.0000.00716.52
7.4.270.0030.00316.56
7.4.260.0030.00616.63
7.4.250.0040.00416.49
7.4.240.0080.00016.51
7.4.230.0030.00316.39
7.4.220.0110.01116.49
7.4.210.0070.00716.63
7.4.200.0000.00716.45
7.4.160.0060.00916.36
7.4.150.0140.00617.40
7.4.140.0140.00717.86
7.4.130.0150.00716.59
7.4.120.0090.00816.56
7.4.110.0110.00616.42
7.4.100.0130.00316.43
7.4.90.0070.01116.41
7.4.80.0090.01216.55
7.4.70.0100.00616.52
7.4.60.0130.00316.42
7.4.50.0030.00516.62
7.4.40.0100.01116.51
7.4.30.0060.01216.54
7.4.00.0120.00314.91
7.3.330.0000.00513.35
7.3.320.0110.00013.21
7.3.310.0040.00416.27
7.3.300.0030.00316.25
7.3.290.0100.00616.33
7.3.280.0040.01316.33
7.3.270.0160.00617.40
7.3.260.0130.00816.43
7.3.250.0080.01416.53
7.3.240.0120.00616.39
7.3.230.0170.00016.50
7.3.210.0190.00016.43
7.3.200.0100.00919.39
7.3.190.0160.00316.50
7.3.180.0030.01416.42
7.3.170.0000.01916.43
7.3.160.0060.01316.47
7.2.330.0120.00916.42
7.2.320.0160.00316.79
7.2.310.0100.00716.68
7.2.300.0180.00416.72
7.2.290.0040.01816.61
7.2.00.0080.00819.31
7.1.200.0090.00615.67
7.1.100.0040.00717.64
7.1.70.0050.00317.09
7.1.60.0100.01319.50
7.1.50.0090.00916.84
7.1.00.0030.07722.36
7.0.200.0000.00716.67
7.0.140.0030.06722.00
7.0.60.0130.07320.07
7.0.50.0000.04717.86
7.0.40.0000.05020.25
7.0.30.0230.04020.17
7.0.20.0200.04020.16
7.0.10.0200.04020.10
7.0.00.0130.08320.16
5.6.280.0000.07321.16
5.6.210.0130.07020.50
5.6.200.0000.04318.13
5.6.190.0030.09020.39
5.6.180.0300.07720.61
5.6.170.0430.05020.54
5.6.160.0070.06020.44
5.6.150.0170.06018.22
5.6.140.0070.08318.18
5.6.130.0070.04718.15
5.6.120.0200.05720.90
5.6.110.0100.06020.99
5.6.100.0070.08321.02
5.6.90.0130.06321.11
5.6.80.0070.08320.39
5.6.70.0230.08020.41
5.5.350.0130.03020.42
5.5.340.0000.04018.04
5.5.330.0130.07720.21
5.5.320.0070.06020.21
5.5.310.0230.08020.28
5.5.300.0030.04018.08
5.5.290.0130.06318.08
5.5.280.0100.06320.68
5.5.270.0230.06720.98
5.5.260.0100.06720.87
5.5.250.0000.04720.69
5.5.240.0100.05020.27
5.4.450.0530.06319.58
5.4.440.0730.05019.55
5.4.430.1070.05719.68
5.4.420.0830.06319.23
5.4.410.0570.06019.43
5.4.400.0270.05318.84
5.4.390.0400.05318.63
5.4.380.0300.05318.78
5.4.370.0330.05018.84
5.4.360.0230.05718.79
5.4.350.0370.05318.84
5.4.340.0300.05018.77
5.4.320.0300.04718.74
5.4.310.0270.05318.76
5.4.300.0200.06018.75
5.4.290.0270.05018.78
5.4.280.0130.07018.74
5.4.270.0170.06718.61
5.4.260.0200.05718.58
5.4.250.0230.05718.55
5.4.240.0370.05018.46
5.4.230.0230.05318.46
5.4.220.0370.08018.61
5.4.210.0230.06018.52
5.4.200.0200.05316.68
5.4.190.0230.06018.75
5.4.180.0230.06318.64
5.4.170.0200.06318.48
5.4.160.0200.06018.48
5.4.150.0270.06018.60
5.4.140.0370.04716.21
5.4.130.0230.05016.39
5.4.120.0300.04716.38
5.4.110.0270.04716.44
5.4.100.0270.05016.17
5.4.90.0270.05016.29
5.4.80.0330.05016.26
5.4.70.0230.05716.33
5.4.60.0170.06016.31
5.4.50.0270.04716.27
5.4.40.0230.05016.46
5.4.30.0300.04016.43
5.4.20.0270.05716.23
5.4.10.0270.05016.40
5.4.00.0200.05315.88
5.3.290.0270.05314.69
5.3.280.0170.05714.62
5.3.270.0200.05714.71
5.3.260.0130.06314.65
5.3.250.0300.04714.78
5.3.240.0270.05014.72
5.3.230.0230.06014.81
5.3.220.0430.06314.57
5.3.210.0300.07314.78
5.3.200.0230.07714.68
5.3.190.0370.04314.79
5.3.180.0170.06014.79
5.3.170.0330.04714.62
5.3.160.0200.05714.70
5.3.150.0100.06714.75
5.3.140.0270.05014.59
5.3.130.0300.04714.62
5.3.120.0270.07314.78
5.3.110.0230.05314.66
5.3.100.0130.06014.24
5.3.90.0300.05014.20
5.3.80.0200.05314.06
5.3.70.0200.05314.01
5.3.60.0170.05714.21
5.3.50.0370.05714.01
5.3.40.0230.05013.99
5.3.30.0270.04714.03
5.3.20.0230.04713.80
5.3.10.0230.05013.64
5.3.00.0200.06713.76
5.2.170.0200.04311.16
5.2.160.0300.03011.21
5.2.150.0170.04711.16
5.2.140.0170.04311.23
5.2.130.0230.03311.09
5.2.120.0170.04311.31
5.2.110.0230.04011.11
5.2.100.0270.04011.16
5.2.90.0230.06011.23
5.2.80.0130.05311.32
5.2.70.0200.04011.10
5.2.60.0230.04711.28
5.2.50.0300.05011.04
5.2.40.0170.04011.07
5.2.30.0100.04711.10
5.2.20.0200.03711.14
5.2.10.0170.03710.89
5.2.00.0170.03710.73
5.1.60.0230.03310.02
5.1.50.0200.03710.18
5.1.40.0200.03710.10
5.1.30.0200.03010.44
5.1.20.0100.04010.37
5.1.10.0170.03710.08
5.1.00.0230.04710.21
5.0.50.0030.0338.67
5.0.40.0070.0308.45
5.0.30.0130.0408.36
5.0.20.0130.0238.34
5.0.10.0130.0238.20
5.0.00.0070.0438.37
4.4.90.0100.0207.26
4.4.80.0030.0277.26
4.4.70.0070.0237.26
4.4.60.0130.0177.26
4.4.50.0070.0237.26
4.4.40.0070.0437.26
4.4.30.0130.0207.26
4.4.20.0130.0177.26
4.4.10.0070.0237.26
4.4.00.0070.0337.26
4.3.110.0070.0237.26
4.3.100.0070.0237.26
4.3.90.0030.0277.26
4.3.80.0070.0437.26
4.3.70.0100.0277.26
4.3.60.0070.0207.26
4.3.50.0070.0237.26
4.3.40.0100.0407.26
4.3.30.0070.0277.26
4.3.20.0070.0277.26
4.3.10.0030.0237.26
4.3.00.0000.0239.30

preferences:
49.46 ms | 401 KiB | 5 Q