3v4l.org

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

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.00716.75
8.3.50.0090.00921.90
8.3.40.0090.00618.84
8.3.30.0000.01419.27
8.3.20.0040.00420.20
8.3.10.0080.00021.90
8.3.00.0000.00819.15
8.2.180.0140.01018.23
8.2.170.0090.00622.96
8.2.160.0150.00020.39
8.2.150.0030.00624.18
8.2.140.0070.00024.66
8.2.130.0140.00026.16
8.2.120.0000.00819.69
8.2.110.0090.00019.18
8.2.100.0040.00817.75
8.2.90.0030.00619.22
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0040.00419.95
8.2.30.0040.00417.99
8.2.20.0050.00217.62
8.2.10.0030.00617.92
8.2.00.0040.00417.66
8.1.280.0140.00725.92
8.1.270.0060.00320.73
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00623.92
8.1.230.0090.00317.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00617.13
8.1.190.0080.00017.35
8.1.180.0000.00718.10
8.1.170.0050.00318.40
8.1.160.0040.00421.91
8.1.150.0070.00018.89
8.1.140.0080.00017.36
8.1.130.0030.00317.82
8.1.120.0070.00017.49
8.1.110.0040.00417.48
8.1.100.0000.00817.34
8.1.90.0030.00317.46
8.1.80.0030.00317.41
8.1.70.0030.00317.52
8.1.60.0040.00417.41
8.1.50.0050.00317.51
8.1.40.0040.00417.50
8.1.30.0030.00617.57
8.1.20.0070.00017.55
8.1.10.0000.00817.63
8.1.00.0000.00717.40
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0030.00318.32
8.0.270.0070.00017.30
8.0.260.0000.00817.30
8.0.250.0080.00017.04
8.0.240.0000.00616.96
8.0.230.0000.00817.00
8.0.220.0070.00016.98
8.0.210.0000.00816.83
8.0.200.0000.00716.86
8.0.190.0000.00717.02
8.0.180.0040.00416.92
8.0.170.0030.00416.87
8.0.160.0000.00817.01
8.0.150.0000.00816.86
8.0.140.0070.00016.89
8.0.130.0000.00613.40
8.0.120.0040.00416.88
8.0.110.0040.00416.98
8.0.100.0040.00416.94
8.0.90.0000.00716.88
8.0.80.0060.00916.96
8.0.70.0090.00016.76
8.0.60.0030.00316.82
8.0.50.0040.00416.83
8.0.30.0180.00717.14
8.0.20.0130.00717.40
8.0.10.0050.00317.04
8.0.00.0090.00917.00
7.4.330.0050.00015.03
7.4.320.0030.00316.46
7.4.300.0000.00716.46
7.4.290.0000.00716.62
7.4.280.0040.00416.60
7.4.270.0040.00416.42
7.4.260.0030.00316.54
7.4.250.0040.00416.47
7.4.240.0020.00616.54
7.4.230.0040.00416.50
7.4.220.0120.01316.38
7.4.210.0150.00316.71
7.4.200.0000.00716.71
7.4.160.0120.00316.30
7.4.150.0070.01517.40
7.4.140.0140.00917.86
7.4.130.0110.00616.54
7.4.120.0060.01116.53
7.4.110.0070.01116.41
7.4.100.0070.01016.41
7.4.90.0080.01116.61
7.4.80.0150.00619.39
7.4.70.0030.01416.55
7.4.60.0060.01016.29
7.4.50.0020.00216.46
7.4.40.0060.01016.51
7.4.30.0120.00616.50
7.4.00.0090.00615.16
7.3.330.0000.00513.44
7.3.320.0130.00013.36
7.3.310.0000.00716.40
7.3.300.0000.00616.41
7.3.290.0050.01016.31
7.3.280.0100.00816.38
7.3.270.0110.00717.40
7.3.260.0070.01016.53
7.3.250.0110.00616.42
7.3.240.0070.01016.39
7.3.230.0060.01016.39
7.3.210.0030.01316.38
7.3.200.0070.01019.39
7.3.190.0060.00916.39
7.3.180.0120.00616.47
7.3.170.0040.01216.56
7.3.160.0090.00916.46
7.3.10.0110.00616.54
7.3.00.0080.00816.63
7.2.330.0110.00616.73
7.2.320.0130.00316.48
7.2.310.0110.00716.79
7.2.300.0070.01016.65
7.2.290.0110.01116.68
7.2.130.0120.00516.85
7.2.120.0100.00816.61
7.2.110.0100.00716.79
7.2.100.0080.00916.79
7.2.90.0100.00516.77
7.2.80.0020.01516.76
7.2.70.0080.00316.88
7.2.60.0040.01016.74
7.2.50.0050.01117.01
7.2.40.0090.00716.56
7.2.30.0110.00916.70
7.2.20.0050.00916.84
7.2.10.0080.01116.68
7.2.00.0070.00917.72
7.1.250.0120.00815.50
7.1.200.0000.01215.66
7.1.100.0030.00918.22
7.1.70.0030.00917.17
7.1.60.0210.00419.50
7.1.50.0060.01516.52
7.1.00.0000.08022.27
7.0.200.0030.00616.72
7.0.140.0000.07322.14
7.0.60.0100.07719.98
7.0.50.0030.04017.87
7.0.40.0100.05020.18
7.0.30.0270.08720.17
7.0.20.0270.08020.41
7.0.10.0000.06720.20
7.0.00.0100.08320.28
5.6.280.0070.07021.04
5.6.210.0070.06020.68
5.6.200.0070.05018.22
5.6.190.0030.08020.58
5.6.180.4000.04020.34
5.6.170.0230.04020.51
5.6.160.0100.07020.54
5.6.150.0000.04018.15
5.6.140.0070.07718.21
5.6.130.0130.08018.15
5.6.120.0030.08721.00
5.6.110.0030.04321.14
5.6.100.0130.08020.96
5.6.90.0070.04021.02
5.6.80.0130.07320.43
5.6.70.3200.03720.42
5.5.350.0300.04720.39
5.5.340.0070.04017.98
5.5.330.0030.07020.13
5.5.320.0270.06320.34
5.5.310.0230.06320.43
5.5.300.0070.07317.98
5.5.290.0000.05718.01
5.5.280.0070.08320.95
5.5.270.0100.09020.80
5.5.260.0070.07020.96
5.5.250.0100.07320.66
5.5.240.0170.07720.35
5.4.450.0670.06719.35
5.4.440.0870.05319.55
5.4.430.0630.06019.55
5.4.420.0100.05319.47
5.4.410.0930.05719.21
5.4.400.0300.04318.88
5.4.390.0270.04718.80
5.4.380.0230.05718.61
5.4.370.0200.05018.45
5.4.360.0270.04318.71
5.4.350.0230.05318.55
5.4.340.0230.05018.70
5.4.320.0230.05018.70
5.4.310.0170.05318.68
5.4.300.0200.05018.71
5.4.290.0130.05718.68
5.4.280.0200.05318.79
5.4.270.0270.04318.44
5.4.260.0200.05018.79
5.4.250.0130.06018.61
5.4.240.0270.04718.61
5.4.230.0100.05718.54
5.4.220.0270.04718.54
5.4.210.0200.05318.60
5.4.200.0270.04316.78
5.4.190.0100.05718.78
5.4.180.0130.06318.78
5.4.170.0200.05318.80
5.4.160.0230.04718.59
5.4.150.0170.05318.45
5.4.140.0130.05316.34
5.4.130.0200.04716.30
5.4.120.0200.05016.26
5.4.110.0230.04716.21
5.4.100.0330.06316.46
5.4.90.0230.06716.43
5.4.80.0200.05016.32
5.4.70.0270.04716.32
5.4.60.0270.04316.27
5.4.50.0230.05016.29
5.4.40.0200.05016.26
5.4.30.0170.05016.24
5.4.20.0370.04016.40
5.4.10.0300.05716.16
5.4.00.0200.06015.75
5.3.290.0300.04714.89
5.3.280.0230.05714.66
5.3.270.0230.05714.59
5.3.260.0270.04714.63
5.3.250.0270.04714.79
5.3.240.0270.05314.83
5.3.230.0170.05714.63
5.3.220.0300.04314.67
5.3.210.0200.06714.67
5.3.200.0170.06314.58
5.3.190.0200.06314.69
5.3.180.0400.04314.79
5.3.170.0230.05314.61
5.3.160.0130.05714.61
5.3.150.0170.05314.62
5.3.140.0170.05314.61
5.3.130.0170.05714.65
5.3.120.0370.04314.61
5.3.110.0230.05014.62
5.3.100.0200.05014.07
5.3.90.0270.04314.10
5.3.80.0270.04014.02
5.3.70.0200.04714.10
5.3.60.0100.05714.06
5.3.50.0270.04014.07
5.3.40.0230.04713.98
5.3.30.0230.04313.98
5.3.20.0200.05013.68
5.3.10.0130.05313.79
5.3.00.0270.04013.67
5.2.170.0170.04311.26
5.2.160.0200.03711.14
5.2.150.0170.04011.27
5.2.140.0070.05011.27
5.2.130.0170.03711.23
5.2.120.0170.03711.20
5.2.110.0100.04311.30
5.2.100.0200.03711.23
5.2.90.0170.03711.16
5.2.80.0200.03711.13
5.2.70.0230.03711.22
5.2.60.0170.04011.07
5.2.50.0100.04711.10
5.2.40.0100.04311.04
5.2.30.0130.04011.05
5.2.20.0200.03311.02
5.2.10.0200.03310.88
5.2.00.0170.04010.74
5.1.60.0170.03010.04
5.1.50.0130.03710.13
5.1.40.0130.03310.08
5.1.30.0130.03710.33
5.1.20.0170.03310.37
5.1.10.0270.02310.10
5.1.00.0170.04010.21
5.0.50.0100.0278.65
5.0.40.0170.0178.47
5.0.30.0100.0478.42
5.0.20.0070.0278.24
5.0.10.0070.0308.27
5.0.00.0070.0438.21
4.4.90.0070.0306.79
4.4.80.0030.0236.79
4.4.70.0030.0236.79
4.4.60.0100.0176.79
4.4.50.0030.0236.79
4.4.40.0100.0376.79
4.4.30.0130.0176.79
4.4.20.0130.0176.79
4.4.10.0000.0306.79
4.4.00.0070.0336.79
4.3.110.0070.0236.79
4.3.100.0030.0236.79
4.3.90.0130.0136.79
4.3.80.0130.0276.79
4.3.70.0070.0206.79
4.3.60.0070.0206.79
4.3.50.0030.0276.79
4.3.40.0070.0406.79
4.3.30.0070.0206.79
4.3.20.0000.0276.79
4.3.10.0000.0236.79
4.3.00.0070.0237.12

preferences:
41.68 ms | 401 KiB | 5 Q