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.5.00.0150.00620.15
8.4.150.0150.00816.75
8.4.140.0200.01317.74
8.4.130.0240.00917.70
8.4.120.0230.00919.10
8.4.110.0210.00718.31
8.4.100.0280.00718.35
8.4.90.0240.00819.29
8.4.80.0240.00718.27
8.4.70.0250.00819.08
8.4.60.0260.01019.35
8.4.50.0280.00818.04
8.4.40.0280.00617.78
8.4.30.0240.00717.70
8.4.20.0210.00917.66
8.4.10.0220.00917.72
8.3.280.0120.00920.23
8.3.270.0220.01216.65
8.3.260.0240.00816.88
8.3.250.0200.00617.63
8.3.240.0240.00716.52
8.3.230.0240.00616.79
8.3.220.0200.00617.92
8.3.210.0210.00516.65
8.3.200.0220.00616.65
8.3.190.0200.00616.93
8.3.180.0200.00516.79
8.3.170.0210.00817.32
8.3.160.0230.00616.83
8.3.150.0220.00916.66
8.3.140.0220.00917.93
8.3.130.0210.00416.47
8.3.120.0200.00617.85
8.3.110.0150.00717.13
8.3.100.0220.00719.16
8.3.90.0200.00519.92
8.3.80.0190.00617.17
8.3.70.0230.00517.20
8.3.60.0250.00817.18
8.3.50.0210.00719.24
8.3.40.0190.00918.01
8.3.30.0200.00517.85
8.3.20.0180.00518.36
8.3.10.0150.00618.92
8.3.00.0140.00517.93
8.2.290.0200.00918.81
8.2.280.0210.00716.73
8.2.270.0210.00516.83
8.2.260.0160.00717.42
8.2.250.0190.00516.59
8.2.240.0170.00616.67
8.2.230.0150.00718.37
8.2.220.0170.00723.43
8.2.210.0200.00419.93
8.2.200.0170.00517.19
8.2.190.0160.00916.50
8.2.180.0170.00619.65
8.2.170.0180.00718.26
8.2.160.0210.00419.52
8.2.150.0190.00520.19
8.2.140.0150.00819.96
8.2.130.0200.00420.27
8.2.120.0180.00618.59
8.2.110.0160.00718.42
8.2.100.0160.00817.77
8.2.90.0170.00617.77
8.2.80.0190.00718.53
8.2.70.0200.00417.59
8.2.60.0190.00617.43
8.2.50.0190.00617.46
8.2.40.0150.00717.49
8.2.30.0190.00517.61
8.2.20.0130.00817.51
8.2.10.0170.00517.65
8.2.00.0150.00817.47
8.1.330.0230.00919.05
8.1.320.0210.01016.29
8.1.310.0170.00516.38
8.1.300.0180.00716.90
8.1.290.0160.00617.04
8.1.280.0170.00719.38
8.1.270.0160.00419.70
8.1.260.0150.00720.30
8.1.250.0160.00720.87
8.1.240.0170.00517.96
8.1.230.0180.00818.39
8.1.220.0190.00717.55
8.1.210.0180.00717.86
8.1.200.0200.00417.18
8.1.190.0140.00717.17
8.1.180.0150.01017.41
8.1.170.0160.00517.70
8.1.160.0160.00617.71
8.1.150.0190.00717.66
8.1.140.0200.00417.27
8.1.130.0180.00417.23
8.1.120.0140.00617.25
8.1.110.0140.00717.32
8.1.100.0140.00617.24
8.1.90.0180.00517.28
8.1.80.0130.00817.27
8.1.70.0150.00417.36
8.1.60.0130.00717.44
8.1.50.0170.00317.41
8.1.40.0130.00717.41
8.1.30.0140.00617.48
8.1.20.0170.00317.51
8.1.10.0120.00517.44
8.1.00.0130.00517.35
8.0.300.0160.00417.83
8.0.290.0170.00416.62
8.0.280.0170.00517.28
8.0.270.0170.00316.66
8.0.260.0130.00616.79
8.0.250.0160.00416.85
8.0.240.0160.00616.78
8.0.230.0140.00516.80
8.0.220.0170.00316.80
8.0.210.0120.00716.82
8.0.200.0140.00416.84
8.0.190.0130.00516.75
8.0.180.0150.00316.78
8.0.170.0130.00616.86
8.0.160.0140.00416.83
8.0.150.0130.00516.78
8.0.140.0100.00616.79
8.0.130.0110.00616.42
8.0.120.0120.00516.79
8.0.110.0120.00516.84
8.0.100.0120.00616.81
8.0.90.0120.00716.83
8.0.80.0130.00516.80
8.0.70.0130.00516.75
8.0.60.0110.00616.79
8.0.50.0120.00516.82
8.0.30.0150.00416.86
8.0.20.0130.00516.97
8.0.10.0130.00416.98
8.0.00.0100.00616.89
7.4.330.0140.00416.22
7.4.320.0150.00416.45
7.4.300.0140.00516.50
7.4.290.0130.00516.49
7.4.280.0150.00516.49
7.4.270.0140.00416.42
7.4.260.0130.00516.45
7.4.250.0130.00416.47
7.4.240.0130.00416.44
7.4.230.0130.00516.48
7.4.220.0120.00616.46
7.4.210.0120.00616.47
7.4.200.0110.00516.46
7.4.190.0140.00316.54
7.4.180.0110.00516.52
7.4.160.0120.00516.50
7.4.150.0120.00516.56
7.4.140.0120.00616.68
7.4.130.0130.00616.45
7.4.120.0110.00616.46
7.4.110.0130.00516.38
7.4.100.0120.00616.45
7.4.90.0120.00616.33
7.4.80.0150.00416.66
7.4.70.0140.00516.37
7.4.60.0120.00616.36
7.4.50.0130.00616.32
7.4.40.0110.00716.30
7.4.30.0130.00616.34
7.4.20.0130.00616.38
7.4.10.0110.00816.19
7.4.00.0110.00616.01
7.3.330.0130.00415.90
7.3.320.0150.00516.00
7.3.310.0150.00416.25
7.3.300.0150.00416.34
7.3.290.0120.00516.27
7.3.280.0120.00516.35
7.3.270.0130.00516.42
7.3.260.0130.00516.35
7.3.250.0130.00616.33
7.3.240.0140.00616.29
7.3.230.0130.00616.35
7.3.220.0150.00516.33
7.3.210.0130.00616.31
7.3.200.0130.00616.57
7.3.190.0150.00416.33
7.3.180.0140.00616.33
7.3.170.0140.00616.36
7.3.160.0140.00616.35
7.3.150.0140.00616.36
7.3.140.0150.00516.35
7.3.130.0130.00716.10
7.3.120.0130.00715.94
7.3.110.0110.00715.75
7.3.100.0110.00715.71
7.3.90.0110.00715.84
7.3.80.0110.00715.69
7.3.70.0120.00715.72
7.3.60.0100.00815.63
7.3.50.0110.00715.64
7.3.40.0110.00715.61
7.3.30.0090.00915.67
7.3.20.0130.00716.59
7.3.10.0130.00716.56
7.3.00.0100.00816.65
7.2.340.0150.00516.30
7.2.330.0150.00616.37
7.2.320.0160.00616.41
7.2.310.0170.00516.35
7.2.300.0160.00516.41
7.2.290.0170.00516.38
7.2.280.0160.00616.33
7.2.270.0150.00616.38
7.2.260.0130.00716.21
7.2.250.0120.00816.14
7.2.240.0120.00615.84
7.2.230.0100.01015.80
7.2.220.0110.00715.87
7.2.210.0100.00715.84
7.2.200.0120.00815.90
7.2.190.0110.00715.75
7.2.180.0110.00715.79
7.2.170.0110.00815.81
7.2.160.0120.00715.79
7.2.150.0180.00816.74
7.2.140.0140.00816.85
7.2.130.0120.00816.90
7.2.120.0130.00716.85
7.2.110.0140.00716.85
7.2.100.0120.00816.90
7.2.90.0170.00716.79
7.2.80.0180.00616.77
7.2.70.0170.00816.84
7.2.60.0160.00816.77
7.2.50.0120.00816.80
7.2.40.0190.00816.88
7.2.30.0180.00816.91
7.2.20.0160.00916.86
7.2.10.0410.00716.84
7.2.00.0250.00916.88
7.1.330.0130.00515.83
7.1.320.0120.00715.69
7.1.310.0120.00815.77
7.1.300.0120.00815.68
7.1.290.0140.00615.72
7.1.280.0130.00715.69
7.1.270.0130.00715.70
7.1.260.0120.00815.78
7.1.250.0130.00615.76
7.1.240.0130.00715.70
7.1.230.0140.00715.76
7.1.220.0130.00715.76
7.1.210.0140.00715.65
7.1.200.0180.00715.70
7.1.190.0200.00515.68
7.1.180.0170.00815.62
7.1.170.0160.00715.65
7.1.160.0200.00715.64
7.1.150.0210.00715.70
7.1.140.0470.00815.70
7.1.130.0430.00715.69
7.1.120.0250.00715.68
7.1.110.0270.00715.64
7.1.100.0320.00815.68
7.1.90.0270.00815.75
7.1.80.0320.00815.69
7.1.70.0260.00815.58
7.1.60.0310.00717.83
7.1.50.0280.00817.73
7.1.40.0220.00717.80
7.1.30.0220.00717.75
7.1.20.0190.00917.75
7.1.10.0150.00715.57
7.1.00.0200.00815.52
7.0.330.0140.00715.48
7.0.320.0140.00615.42
7.0.310.0190.00815.30
7.0.300.0140.00715.32
7.0.290.0230.00715.40
7.0.280.0180.00715.35
7.0.270.0350.00715.41
7.0.260.0180.00715.43
7.0.250.0230.00615.48
7.0.240.0350.00715.44
7.0.230.0350.00715.42
7.0.220.0310.00715.43
7.0.210.0200.00715.38
7.0.200.0190.00715.37
7.0.190.0250.00715.37
7.0.180.0240.00715.37
7.0.170.0200.00615.32
7.0.160.0180.00815.34
7.0.150.0210.00815.31
7.0.140.0220.00715.29
7.0.130.0220.00815.31
7.0.120.0220.00815.27
7.0.110.0200.00815.28
7.0.100.0190.00715.27
7.0.90.0240.00615.29
7.0.80.0250.00615.29
7.0.70.0240.00815.26
7.0.60.0220.00715.23
7.0.50.0200.00815.29
7.0.40.0240.00815.33
7.0.30.0240.00715.32
7.0.20.0240.00715.22
7.0.10.0250.00615.31
7.0.00.0210.00715.35
5.6.400.0150.00715.29
5.6.390.0130.00915.22
5.6.380.0150.00815.23
5.6.370.0140.00815.24
5.6.360.0140.00815.31
5.6.350.0150.00715.24
5.6.340.0150.00615.26
5.6.330.0140.00915.33
5.6.320.0140.00715.26
5.6.310.0130.00915.29
5.6.300.0150.01115.65
5.6.290.0140.01315.70
5.6.280.0130.01215.67
5.6.270.0130.01215.69
5.6.260.0130.01215.68
5.6.250.0140.01115.65
5.6.240.0130.01215.72
5.6.230.0140.01315.66
5.6.220.0150.01115.67
5.6.210.0140.01115.68
5.6.200.0130.01315.71
5.6.190.0130.01215.74
5.6.180.0130.01315.75
5.6.170.0140.01215.71
5.6.160.0130.01315.70
5.6.150.0120.01415.68
5.6.140.0130.01215.65
5.6.130.0120.01215.73
5.6.120.0130.01215.80
5.6.110.0120.01315.68
5.6.100.0130.01315.66
5.6.90.0140.01215.63
5.6.80.0130.01215.60
5.6.70.0130.01315.58
5.6.60.0150.01115.62
5.6.50.0150.01115.58
5.6.40.0130.01315.58
5.6.30.0130.01215.57
5.6.20.0140.01115.57
5.6.10.0120.01215.58
5.6.00.0140.01215.54
5.5.380.0150.01215.24
5.5.370.0140.01215.29
5.5.360.0140.01215.17
5.5.350.0140.01215.26
5.5.340.0130.01315.22
5.5.330.0130.01215.25
5.5.320.0140.01115.29
5.5.310.0150.01115.28
5.5.300.0150.01015.28
5.5.290.0150.01015.31
5.5.280.0150.01115.29
5.5.270.0140.01215.29
5.5.260.0130.01215.23
5.5.250.0150.01215.26
5.5.240.0140.01215.26
5.5.230.0130.01215.19
5.5.220.0160.01115.21
5.5.210.0120.01415.27
5.5.200.0120.01315.19
5.5.190.0140.01115.14
5.5.180.0150.01215.10
5.5.170.0140.00815.11
5.5.160.0130.01215.16
5.5.150.0130.01215.13
5.5.140.0120.01315.10
5.5.130.0130.01315.10
5.5.120.0140.01115.12
5.5.110.0130.01215.14
5.5.100.0130.01215.13
5.5.90.0130.01215.17
5.5.80.0130.01115.20
5.5.70.0140.01215.17
5.5.60.0130.01215.17
5.5.50.0130.01115.18
5.5.40.0140.01215.19
5.5.30.0150.01015.19
5.5.20.0140.01015.17
5.5.10.0130.01215.14
5.5.00.0140.01015.14
5.4.450.0110.01113.30
5.4.440.0110.01013.28
5.4.430.0120.01013.26
5.4.420.0110.01013.29
5.4.410.0110.01113.24
5.4.400.0120.00913.17
5.4.390.0110.01013.22
5.4.380.0110.01013.21
5.4.370.0100.01013.19
5.4.360.0110.01013.17
5.4.350.0120.01113.21
5.4.340.0130.00913.21
5.4.330.0100.00712.65
5.4.320.0110.00913.20
5.4.310.0100.01013.20
5.4.300.0120.00913.19
5.4.290.0120.01013.18
5.4.280.0100.01113.21
5.4.270.0110.00913.21
5.4.260.0100.01013.19
5.4.250.0100.01113.16
5.4.240.0110.01113.16
5.4.230.0100.01013.15
5.4.220.0110.01013.15
5.4.210.0090.01013.16
5.4.200.0110.01013.12
5.4.190.0110.00913.11
5.4.180.0110.01013.14
5.4.170.0110.01113.15
5.4.160.0110.00913.17
5.4.150.0110.01013.16
5.4.140.0100.01013.07
5.4.130.0100.00913.02
5.4.120.0090.01012.98
5.4.110.0100.00913.02
5.4.100.0100.01013.04
5.4.90.0100.00913.01
5.4.80.0110.00813.03
5.4.70.0100.01013.02
5.4.60.0120.00813.05
5.4.50.0100.01012.99
5.4.40.0110.00913.02
5.4.30.0100.01013.01
5.4.20.0110.00913.03
5.4.10.0100.01113.03
5.4.00.0100.01012.95

preferences:
33.1 ms | 403 KiB | 5 Q