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 try { (╯°□°)╯︵┻━┻ (); } catch ( ┻━┻ $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.4.10.0110.01117.75
8.3.140.0070.01120.84
8.3.130.0090.00316.68
8.3.120.0090.00920.66
8.3.110.0040.00418.58
8.3.100.0080.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00318.56
8.3.70.0100.00618.68
8.3.60.0120.00918.40
8.3.50.0120.00921.98
8.3.40.0070.01419.02
8.3.30.0110.00418.80
8.3.20.0060.00320.20
8.3.10.0070.00321.90
8.3.00.0050.00319.05
8.2.250.0080.00016.84
8.2.240.0030.00617.05
8.2.230.0030.00622.58
8.2.220.0100.00637.54
8.2.210.0140.00026.77
8.2.200.0080.00018.29
8.2.190.0040.01416.58
8.2.180.0070.00725.92
8.2.170.0040.01119.08
8.2.160.0100.00322.96
8.2.150.0060.00325.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0060.00320.64
8.2.110.0030.00620.28
8.2.100.0030.00917.97
8.2.90.0040.00418.03
8.2.80.0040.00420.53
8.2.70.0090.00017.63
8.2.60.0040.00417.63
8.2.50.0000.00817.55
8.2.40.0000.00817.63
8.2.30.0120.00018.06
8.2.20.0000.00717.68
8.2.10.0040.00417.93
8.2.00.0000.00717.61
8.1.300.0060.01018.46
8.1.290.0030.00618.88
8.1.280.0090.00925.92
8.1.270.0000.00724.66
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0060.00319.35
8.1.230.0040.00720.86
8.1.220.0040.00417.74
8.1.210.0050.00318.88
8.1.200.0090.00017.23
8.1.190.0030.00517.35
8.1.180.0000.00818.10
8.1.170.0040.00419.07
8.1.160.0070.00018.77
8.1.150.0000.00718.88
8.1.140.0070.00017.44
8.1.130.0090.00317.40
8.1.120.0050.00717.36
8.1.110.0070.00517.44
8.1.100.0070.00617.48
8.1.90.0070.00517.40
8.1.80.0040.00717.46
8.1.70.0090.00417.44
8.1.60.0070.00817.58
8.1.50.0130.00217.51
8.1.40.0080.00717.48
8.1.30.0100.00517.54
8.1.20.0120.00217.58
8.1.10.0090.00517.49
8.1.00.0120.00517.44
8.0.300.0070.00020.17
8.0.290.0070.00016.75
8.0.280.0030.00318.48
8.0.270.0070.00016.88
8.0.260.0050.00616.92
8.0.250.0100.00116.94
8.0.240.0070.00316.99
8.0.230.0080.00417.00
8.0.220.0090.00216.92
8.0.210.0040.00616.96
8.0.200.0080.00316.93
8.0.190.0070.00516.92
8.0.180.0110.00116.93
8.0.170.0090.00516.96
8.0.160.0090.00316.93
8.0.150.0080.00416.88
8.0.140.0070.00516.85
8.0.130.0070.00716.38
8.0.120.0090.00516.86
8.0.110.0090.00516.89
8.0.100.0090.00516.85
8.0.90.0070.00716.90
8.0.80.0100.00516.88
8.0.70.0100.00416.85
8.0.60.0090.00616.91
8.0.50.0100.00316.90
8.0.30.0110.00416.92
8.0.20.0110.00517.02
8.0.10.0110.00417.04
8.0.00.0070.00616.93
7.4.330.0070.00216.08
7.4.320.0100.00216.69
7.4.300.0080.00416.62
7.4.290.0090.00416.63
7.4.280.0100.00416.59
7.4.270.0120.00316.49
7.4.260.0100.00516.51
7.4.250.0110.00416.54
7.4.240.0110.00316.53
7.4.230.0100.00416.56
7.4.220.0080.00616.51
7.4.210.0090.00616.54
7.4.200.0080.00516.52
7.4.190.0120.00216.61
7.4.180.0090.00516.61
7.4.160.0090.00516.55
7.4.150.0100.00416.63
7.4.140.0100.00716.77
7.4.130.0110.00616.55
7.4.120.0090.00616.52
7.4.110.0100.00516.41
7.4.100.0100.00616.51
7.4.90.0100.00616.38
7.4.80.0130.00416.75
7.4.70.0110.00516.42
7.4.60.0110.00516.42
7.4.50.0110.00716.39
7.4.40.0090.00716.35
7.4.30.0100.00616.36
7.4.20.0110.00616.43
7.4.10.0100.00816.20
7.4.00.0100.00616.00
7.3.330.0100.00415.86
7.3.320.0110.00415.94
7.3.310.0110.00316.31
7.3.300.0130.00316.39
7.3.290.0100.00516.32
7.3.280.0110.00616.37
7.3.270.0120.00516.51
7.3.260.0120.00516.42
7.3.250.0120.00616.37
7.3.240.0130.00616.36
7.3.230.0120.00616.40
7.3.220.0130.00516.37
7.3.210.0120.00716.38
7.3.200.0110.00716.70
7.3.190.0130.00416.38
7.3.180.0120.00616.38
7.3.170.0130.00616.43
7.3.160.0130.00616.38
7.3.150.0130.00616.40
7.3.140.0140.00616.39
7.3.130.0120.00716.10
7.3.120.0120.00715.93
7.3.110.0110.00715.71
7.3.100.0100.00715.67
7.3.90.0110.00715.80
7.3.80.0100.00715.66
7.3.70.0110.00715.69
7.3.60.0090.00815.59
7.3.50.0100.00815.59
7.3.40.0100.00715.58
7.3.30.0080.00915.63
7.3.20.0110.00716.57
7.3.10.0120.00716.54
7.3.00.0090.00916.63
7.2.340.0140.00416.36
7.2.330.0140.00716.45
7.2.320.0140.00616.47
7.2.310.0170.00516.41
7.2.300.0140.00516.48
7.2.290.0160.00516.42
7.2.280.0150.00616.39
7.2.270.0130.00716.44
7.2.260.0120.00816.23
7.2.250.0110.00816.17
7.2.240.0110.00615.82
7.2.230.0090.01015.78
7.2.220.0100.00715.85
7.2.210.0090.00815.82
7.2.200.0110.00815.86
7.2.190.0100.00715.72
7.2.180.0110.00715.75
7.2.170.0100.00815.77
7.2.160.0110.00715.74
7.2.150.0180.00816.71
7.2.140.0140.00816.82
7.2.130.0110.00816.87
7.2.120.0120.00716.82
7.2.110.0130.00716.82
7.2.100.0110.00816.87
7.2.90.0160.00716.75
7.2.80.0170.00616.72
7.2.70.0170.00816.80
7.2.60.0150.00816.72
7.2.50.0110.00816.75
7.2.40.0190.00916.83
7.2.30.0180.00816.89
7.2.20.0160.00916.82
7.2.10.0420.00816.79
7.2.00.0260.00916.84
7.1.330.0130.00515.81
7.1.320.0110.00715.66
7.1.310.0120.00815.74
7.1.300.0110.00815.56
7.1.290.0140.00615.60
7.1.280.0120.00715.57
7.1.270.0120.00815.59
7.1.260.0110.00915.68
7.1.250.0120.00615.65
7.1.240.0130.00715.57
7.1.230.0140.00715.65
7.1.220.0130.00815.64
7.1.210.0130.00715.51
7.1.200.0180.00715.58
7.1.190.0200.00615.55
7.1.180.0170.00815.50
7.1.170.0160.00715.54
7.1.160.0200.00715.52
7.1.150.0210.00815.60
7.1.140.0500.00815.59
7.1.130.0450.00715.58
7.1.120.0250.00715.59
7.1.110.0270.00715.53
7.1.100.0330.00815.58
7.1.90.0280.00815.63
7.1.80.0330.00815.58
7.1.70.0260.00915.49
7.1.60.0330.00717.90
7.1.50.0280.00817.80
7.1.40.0220.00817.87
7.1.30.0220.00717.81
7.1.20.0190.00917.83
7.1.10.0150.00715.46
7.1.00.0200.00915.40
7.0.330.0140.00715.35
7.0.320.0140.00615.28
7.0.310.0190.00815.16
7.0.300.0140.00715.20
7.0.290.0230.00715.30
7.0.280.0190.00715.21
7.0.270.0370.00715.30
7.0.260.0180.00815.32
7.0.250.0230.00615.37
7.0.240.0360.00815.32
7.0.230.0370.00815.29
7.0.220.0320.00715.33
7.0.210.0200.00815.25
7.0.200.0190.00715.24
7.0.190.0250.00815.24
7.0.180.0240.00715.22
7.0.170.0200.00615.18
7.0.160.0180.00815.21
7.0.150.0220.00815.17
7.0.140.0220.00715.17
7.0.130.0220.00815.19
7.0.120.0220.00815.14
7.0.110.0200.00815.14
7.0.100.0190.00715.17
7.0.90.0250.00615.16
7.0.80.0250.00715.17
7.0.70.0240.00815.16
7.0.60.0230.00715.10
7.0.50.0200.00815.17
7.0.40.0250.00815.21
7.0.30.0240.00715.18
7.0.20.0250.00715.08
7.0.10.0260.00715.18
7.0.00.0210.00715.23
5.6.400.0140.00715.23
5.6.390.0120.01015.16
5.6.380.0140.00815.16
5.6.370.0140.00815.19
5.6.360.0140.00815.26
5.6.350.0140.00715.20
5.6.340.0150.00715.20
5.6.330.0140.00915.27
5.6.320.0140.00815.20
5.6.310.0120.00915.23
5.6.300.0150.01215.65
5.6.290.0130.01315.68
5.6.280.0120.01315.66
5.6.270.0120.01315.68
5.6.260.0120.01215.68
5.6.250.0130.01215.64
5.6.240.0130.01215.71
5.6.230.0140.01415.64
5.6.220.0150.01215.66
5.6.210.0130.01215.67
5.6.200.0130.01415.69
5.6.190.0130.01215.73
5.6.180.0120.01415.74
5.6.170.0140.01315.69
5.6.160.0120.01415.68
5.6.150.0110.01515.65
5.6.140.0130.01215.64
5.6.130.0120.01315.70
5.6.120.0120.01215.79
5.6.110.0120.01415.67
5.6.100.0130.01315.64
5.6.90.0130.01315.62
5.6.80.0130.01315.58
5.6.70.0120.01415.56
5.6.60.0140.01215.59
5.6.50.0150.01215.55
5.6.40.0130.01415.56
5.6.30.0130.01315.54
5.6.20.0130.01215.55
5.6.10.0120.01215.55
5.6.00.0130.01315.51
5.5.380.0150.01215.19
5.5.370.0130.01315.23
5.5.360.0140.01315.11
5.5.350.0140.01215.21
5.5.340.0120.01315.19
5.5.330.0130.01315.19
5.5.320.0130.01215.24
5.5.310.0150.01215.23
5.5.300.0140.01115.22
5.5.290.0150.01015.26
5.5.280.0140.01215.25
5.5.270.0130.01315.25
5.5.260.0130.01315.19
5.5.250.0150.01315.20
5.5.240.0140.01215.21
5.5.230.0130.01315.13
5.5.220.0160.01115.16
5.5.210.0110.01415.22
5.5.200.0120.01415.13
5.5.190.0130.01215.09
5.5.180.0140.01315.05
5.5.170.0140.00815.04
5.5.160.0130.01315.12
5.5.150.0130.01315.09
5.5.140.0120.01315.05
5.5.130.0130.01315.03
5.5.120.0140.01115.07
5.5.110.0130.01215.09
5.5.100.0130.01215.07
5.5.90.0130.01215.10
5.5.80.0130.01215.14
5.5.70.0140.01315.11
5.5.60.0120.01315.12
5.5.50.0130.01215.11
5.5.40.0130.01215.13
5.5.30.0150.01115.13
5.5.20.0140.01115.10
5.5.10.0130.01215.08
5.5.00.0140.01115.07
5.4.450.0110.01113.12
5.4.440.0110.01013.10
5.4.430.0120.01113.08
5.4.420.0100.01013.12
5.4.410.0110.01113.06
5.4.400.0120.01012.98
5.4.390.0110.01113.03
5.4.380.0110.01013.02
5.4.370.0100.01113.00
5.4.360.0110.01112.99
5.4.350.0120.01113.02
5.4.340.0130.00913.03
5.4.330.0090.00712.38
5.4.320.0110.00913.01
5.4.310.0100.01113.02
5.4.300.0120.01013.01
5.4.290.0120.01012.99
5.4.280.0100.01113.03
5.4.270.0110.00913.02
5.4.260.0100.01013.00
5.4.250.0100.01112.97
5.4.240.0110.01212.97
5.4.230.0100.01012.96
5.4.220.0110.01012.95
5.4.210.0090.01112.97
5.4.200.0110.01012.93
5.4.190.0100.01012.92
5.4.180.0110.01012.95
5.4.170.0100.01112.96
5.4.160.0110.01012.99
5.4.150.0110.01012.97
5.4.140.0100.01112.87
5.4.130.0100.00912.82
5.4.120.0090.01112.78
5.4.110.0100.01012.82
5.4.100.0100.01012.84
5.4.90.0100.01012.80
5.4.80.0110.00912.82
5.4.70.0100.01012.82
5.4.60.0110.00912.85
5.4.50.0100.01012.79
5.4.40.0110.00912.82
5.4.30.0100.01012.80
5.4.20.0100.00912.83
5.4.10.0100.01112.83
5.4.00.0090.01012.74

preferences:
70.84 ms | 404 KiB | 5 Q