3v4l.org

run code in 300+ PHP versions simultaneously
<?php class UberException extends Exception { public function __construct() { $refTrace = new ReflectionProperty(__CLASS__, 'trace'); $refTrace->setAccessible(true); $refTrace->setValue($this, array()); } } throw new UberException();

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.0040.01216.25
8.3.50.0120.00817.31
8.3.40.0120.00418.79
8.3.30.0140.00718.77
8.3.20.0040.00418.78
8.3.10.0090.00618.66
8.3.00.0090.00019.43
8.2.180.0150.00616.38
8.2.170.0110.00422.96
8.2.160.0070.00718.83
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.87
8.2.110.0030.00620.39
8.2.100.0040.00717.72
8.2.90.0060.00319.02
8.2.80.0080.00017.97
8.2.70.0030.00517.50
8.2.60.0060.00317.80
8.2.50.0030.00517.91
8.2.40.0040.00419.35
8.2.30.0060.00317.62
8.2.20.0040.00717.61
8.2.10.0070.00017.77
8.2.00.0030.00717.59
8.1.280.0150.00325.92
8.1.270.0050.00323.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.93
8.1.230.0050.00617.77
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0040.00418.91
8.1.150.0070.00018.43
8.1.140.0000.00717.33
8.1.130.0030.00317.33
8.1.120.0000.00717.33
8.1.110.0050.00217.37
8.1.100.0020.00517.30
8.1.90.0040.00417.24
8.1.80.0070.00017.33
8.1.70.0000.00717.30
8.1.60.0000.00817.40
8.1.50.0070.00017.38
8.1.40.0090.00017.40
8.1.30.0040.00417.60
8.1.20.0040.00417.45
8.1.10.0050.00317.40
8.1.00.0030.00617.43
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.60
8.0.270.0000.00717.11
8.0.260.0070.00016.78
8.0.250.0050.00216.93
8.0.240.0070.00016.94
8.0.230.0000.00816.93
8.0.220.0050.00216.88
8.0.210.0070.00016.90
8.0.200.0000.00616.84
8.0.190.0000.00716.95
8.0.180.0070.00416.91
8.0.170.0080.00016.76
8.0.160.0050.00216.78
8.0.150.0040.00416.84
8.0.140.0040.00416.86
8.0.130.0060.00013.36
8.0.120.0000.00816.86
8.0.110.0030.00516.84
8.0.100.0000.00816.80
8.0.90.0070.00016.79
8.0.80.0070.01016.87
8.0.70.0040.00416.73
8.0.60.0090.00016.77
8.0.50.0060.00316.74
8.0.30.0130.00317.24
8.0.20.0100.00817.01
8.0.10.0000.00817.06
8.0.00.0070.01216.83
7.4.330.0050.00012.89
7.4.320.0030.00316.46
7.4.300.0030.00316.53
7.4.290.0040.00416.57
7.4.280.0050.00316.45
7.4.270.0000.00816.36
7.4.260.0030.00313.22
7.4.250.0080.00016.44
7.4.240.0030.00316.36
7.4.230.0030.00716.42
7.4.220.0100.01016.49
7.4.210.0100.00616.46
7.4.200.0050.00216.62
7.4.190.0030.00616.53
7.4.160.0070.01016.40
7.4.150.0130.00716.56
7.4.140.0060.01216.29
7.4.130.0120.00616.43
7.4.120.0130.00316.37
7.4.110.0100.00716.32
7.4.100.0070.01016.64
7.4.90.0040.01416.34
7.4.80.0170.00019.39
7.4.70.0070.01016.56
7.4.60.0100.00716.25
7.4.50.0000.00716.57
7.4.40.0060.00916.37
7.4.30.0090.00616.36
7.4.00.0110.00714.85
7.3.330.0030.00513.34
7.3.320.0060.00313.21
7.3.310.0030.00316.41
7.3.300.0000.00616.30
7.3.290.0040.01216.38
7.3.280.0050.01516.35
7.3.270.0080.01616.33
7.3.260.0120.00616.29
7.3.250.0070.01316.45
7.3.240.0090.00916.43
7.3.230.0060.01116.49
7.3.210.0130.00316.38
7.3.200.0100.01016.41
7.3.190.0100.00716.39
7.3.180.0080.00816.30
7.3.170.0130.00316.46
7.3.160.0100.00716.29
7.3.120.0090.00314.77
7.3.110.0070.01114.75
7.3.100.0070.00714.76
7.3.90.0090.00614.73
7.3.80.0000.01514.82
7.3.70.0110.00814.88
7.3.60.0120.00014.69
7.3.50.0080.00414.90
7.3.40.0000.01414.84
7.3.30.0060.00914.61
7.3.20.0070.00716.65
7.3.10.0040.00416.61
7.3.00.0090.00316.52
7.2.330.0120.01216.61
7.2.320.0100.01016.43
7.2.310.0100.01216.48
7.2.300.0160.00916.31
7.2.290.0100.00716.52
7.2.250.0060.01214.71
7.2.240.0030.01315.02
7.2.230.0000.01315.08
7.2.220.0040.00714.84
7.2.210.0060.00615.18
7.2.200.0110.00615.04
7.2.190.0060.00614.52
7.2.180.0070.00715.00
7.2.170.0120.00314.88
7.2.60.0060.01016.67
7.2.00.0040.01119.36
7.1.330.0080.00815.73
7.1.320.0000.01115.74
7.1.310.0070.01315.35
7.1.300.0030.01015.40
7.1.290.0000.01315.77
7.1.280.0080.00415.42
7.1.270.0040.00415.59
7.1.260.0060.00615.38
7.1.200.0060.00715.48
7.1.70.0000.00716.95
7.1.60.0080.00417.16
7.1.50.0070.01416.54
7.1.00.0030.07322.52
7.0.200.0000.01516.41
7.0.140.0030.07722.10
7.0.120.0070.07022.15
7.0.60.0100.07320.06
7.0.50.0100.07717.86
7.0.40.0070.09020.30
7.0.30.0200.03720.07
7.0.20.0200.08720.21
7.0.10.0030.09020.25
7.0.00.0100.06320.24
5.6.280.0000.07721.07
5.6.210.0070.06320.49
5.6.200.0030.04318.20
5.6.190.0070.09020.77
5.6.180.3200.03720.52
5.6.170.0270.06720.47
5.6.160.0130.06020.39
5.6.150.0070.08018.17
5.6.140.0170.05018.18
5.6.130.0030.04018.21
5.6.120.0100.08020.97
5.6.110.0170.07321.02
5.6.100.0130.08721.02
5.6.90.0130.06321.00
5.6.80.0070.06320.51
5.5.350.4330.03720.30
5.5.340.0070.05718.05
5.5.330.0070.04020.27
5.5.320.0430.07020.28
5.5.310.0430.07020.26
5.5.300.0000.05018.08
5.5.290.0170.06718.04
5.5.280.0070.08320.91
5.5.270.0170.07320.80
5.5.260.0030.09020.84
5.5.250.0130.07720.62
5.5.240.0200.08020.22
5.4.450.0100.08319.27
5.4.440.0070.09019.47
5.4.430.0100.06719.47
5.4.420.0130.05319.46
5.4.410.0100.07019.36
5.4.400.0030.04019.15
5.4.390.0100.03319.05
5.4.380.0030.04019.15
5.4.370.0000.04019.13
5.4.360.0100.03018.87
5.4.350.0000.04018.87
5.4.340.0100.03318.84
5.4.320.0030.03719.25
5.4.310.0000.04019.15
5.4.300.0070.03319.16
5.4.290.0070.03319.14
5.4.280.0030.03719.24
5.4.270.0030.03719.24
5.4.260.0100.03018.87
5.4.250.0070.03319.19
5.4.240.0030.04019.07
5.4.230.0100.03019.20
5.4.220.0070.03319.11
5.4.210.0030.03719.23
5.4.200.0100.03019.10
5.4.190.0070.03318.84
5.4.180.0070.03319.13
5.4.170.0000.06719.23
5.4.160.0100.07718.83
5.4.150.0170.07018.85
5.4.140.0030.07016.56
5.4.130.0100.04316.50
5.4.120.0030.04716.36
5.4.110.0100.05716.67
5.4.100.0200.06316.52
5.4.90.0070.03316.67
5.4.80.0070.04316.42
5.4.70.0070.07016.46
5.4.60.0100.05716.44
5.4.50.0130.04316.38
5.4.40.0030.06716.50
5.4.30.0000.04716.34
5.4.20.0130.03316.42
5.4.10.0070.07716.55
5.4.00.0030.04315.80
5.3.290.0030.03714.56
5.3.280.0000.04014.61
5.3.270.0100.03714.77
5.3.260.0130.06714.64
5.3.250.0070.07714.77
5.3.240.0030.06314.61
5.3.230.0130.04014.49
5.3.220.0000.04014.57
5.3.210.0030.04014.73
5.3.200.0070.07314.56
5.3.190.0000.04314.57
5.3.180.0130.07314.57
5.3.170.0100.06014.57
5.3.160.0070.07314.60
5.3.150.0000.06714.61
5.3.140.0100.06714.62
5.3.130.0130.06314.52
5.3.120.0070.07314.59
5.3.110.0000.06314.58
5.3.100.0100.07014.07
5.3.90.0130.06013.94
5.3.80.0070.06714.07
5.3.70.0030.03713.98
5.3.60.0000.04014.06
5.3.50.0070.06714.01
5.3.40.0000.04013.89
5.3.30.0000.04013.98
5.3.20.0070.04013.69
5.3.10.0100.03013.80
5.3.00.0100.07013.69
5.2.170.0000.04311.04
5.2.160.0030.04011.30
5.2.150.0030.06011.31
5.2.140.0030.03311.30
5.2.130.0100.02311.12
5.2.120.0030.02711.12
5.2.110.0100.02710.99
5.2.100.0030.02711.11
5.2.90.0070.03711.05
5.2.80.0070.05711.14
5.2.70.0130.04311.07
5.2.60.0030.03711.14
5.2.50.0070.06011.07
5.2.40.0100.05711.03
5.2.30.0070.06011.14
5.2.20.0030.05011.11
5.2.10.0030.04010.86
5.2.00.0100.04710.67
5.1.60.0100.03710.00
5.1.50.0070.02710.02
5.1.40.0100.02010.03
5.1.30.0070.04710.33
5.1.20.0000.03710.41
5.1.10.0030.05710.16
5.1.00.0030.06010.21
5.0.50.0000.0278.52
5.0.40.0000.0238.39
5.0.30.0070.0478.25
5.0.20.0030.0208.18
5.0.10.0070.0378.14
5.0.00.0000.0538.14
4.4.90.0070.0337.89
4.4.80.0000.0207.89
4.4.70.0030.0337.89
4.4.60.0030.0337.89
4.4.50.0030.0337.89
4.4.40.0000.0277.89
4.4.30.0000.0307.89
4.4.20.0030.0337.89
4.4.10.0000.0237.89
4.4.00.0000.0277.89
4.3.110.0030.0137.89
4.3.100.0000.0177.89
4.3.90.0000.0177.89
4.3.80.0000.0537.89
4.3.70.0030.0307.89
4.3.60.0070.0277.89
4.3.50.0030.0307.89
4.3.40.0000.0537.89
4.3.30.0030.0277.89
4.3.20.0030.0337.89
4.3.10.0030.0337.89
4.3.00.0000.0237.89

preferences:
44.03 ms | 400 KiB | 5 Q