3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ToS{function __toString(){die("hi");}} $e=new exception; $e=unserialize('O:9:"Exception":7:{s:7:"message";s:0:"";s:15:"Exceptionstring";s:0:"";s:4:"code";i:0;s:4:"file";s:9:"/in/1Vigq";s:4:"line";i:2;s:14:"Exceptiontrace";a:0:{}s:17:"Exceptionprevious";O:3:"ToS":0:{}}'); echo $e;

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.0190.00016.88
8.3.50.0110.00317.94
8.3.40.0120.00618.57
8.3.30.0110.00418.63
8.3.20.0040.00420.30
8.3.10.0040.00423.52
8.3.00.0050.00319.56
8.2.180.0120.00916.88
8.2.170.0140.00722.96
8.2.160.0100.00720.28
8.2.150.0040.00424.18
8.2.140.0070.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00417.50
8.2.110.0060.00321.10
8.2.100.0080.00417.75
8.2.90.0000.00819.28
8.2.80.0030.00617.97
8.2.70.0000.00817.50
8.2.60.0030.00617.80
8.2.50.0030.00518.07
8.2.40.0070.00019.22
8.2.30.0000.00720.71
8.2.20.0000.00917.62
8.2.10.0000.00718.08
8.2.00.0070.00017.99
8.1.280.0130.00925.92
8.1.270.0060.00922.10
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00720.91
8.1.230.0110.00017.42
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0090.00017.48
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0080.00018.70
8.1.160.0040.00422.03
8.1.150.0000.00718.80
8.1.140.0000.00817.51
8.1.130.0000.00717.63
8.1.120.0070.00017.47
8.1.110.0000.00717.48
8.1.100.0070.00017.37
8.1.90.0030.00517.45
8.1.80.0000.00717.48
8.1.70.0030.00317.47
8.1.60.0060.00317.59
8.1.50.0000.00817.51
8.1.40.0110.00017.52
8.1.30.0090.00017.56
8.1.20.0080.00017.70
8.1.10.0000.00717.48
8.1.00.0040.00417.49
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0000.00718.36
8.0.270.0000.00717.28
8.0.260.0030.00317.12
8.0.250.0000.00716.91
8.0.240.0000.01017.07
8.0.230.0000.00716.99
8.0.220.0000.00816.96
8.0.210.0000.00816.93
8.0.200.0040.00417.05
8.0.190.0030.00517.02
8.0.180.0070.00016.98
8.0.170.0000.00716.86
8.0.160.0050.00316.99
8.0.150.0000.00816.82
8.0.140.0070.00016.82
8.0.130.0030.00313.43
8.0.120.0000.00816.83
8.0.110.0070.00017.00
8.0.100.0030.00317.00
8.0.90.0070.00016.91
8.0.80.0040.01816.90
8.0.70.0070.00016.84
8.0.60.0050.00217.07
8.0.50.0000.00716.81
8.0.30.0090.00917.00
8.0.20.0070.01117.40
8.0.10.0000.00716.92
8.0.00.0120.00616.76
7.4.330.0050.00015.08
7.4.320.0000.00616.57
7.4.300.0000.00716.45
7.4.290.0030.00316.44
7.4.280.0040.00416.43
7.4.270.0080.00016.34
7.4.260.0070.00016.58
7.4.250.0040.00416.56
7.4.240.0020.00516.37
7.4.230.0000.00716.54
7.4.220.0140.00716.39
7.4.210.0110.00416.41
7.4.200.0040.00416.35
7.4.160.0140.00016.43
7.4.150.0110.00717.40
7.4.140.0130.01117.86
7.4.130.0090.00916.38
7.4.120.0100.00716.46
7.4.110.0070.01016.41
7.4.100.0040.01516.50
7.4.90.0070.01116.36
7.4.80.0060.01219.39
7.4.70.0050.01816.44
7.4.60.0100.00716.34
7.4.50.0040.00416.38
7.4.40.0100.00616.60
7.4.30.0040.01816.56
7.4.00.0100.00714.84
7.3.330.0000.00513.24
7.3.320.0000.00513.22
7.3.310.0000.00616.28
7.3.300.0060.00016.22
7.3.290.0100.00716.24
7.3.280.0070.00916.25
7.3.270.0140.00317.40
7.3.260.0040.01216.50
7.3.250.0070.01016.26
7.3.240.0080.01116.57
7.3.230.0110.00616.56
7.3.210.0150.00616.32
7.3.200.0050.01616.35
7.3.190.0120.00416.29
7.3.180.0160.00016.56
7.3.170.0090.00616.48
7.3.160.0150.00416.37
7.2.330.0130.00616.55
7.2.320.0090.00916.58
7.2.310.0100.01416.70
7.2.300.0050.01016.55
7.2.290.0100.01316.65
7.2.60.0090.00616.77
7.2.00.0000.01219.25
7.1.200.0000.01015.62
7.1.100.0060.00617.80
7.1.70.0110.00416.82
7.1.60.0080.01119.27
7.1.50.0180.01834.67
7.1.00.0030.07722.40
7.0.200.0020.00516.79
7.0.60.0030.03721.74
7.0.50.0070.07717.98
7.0.40.0100.05720.27
7.0.30.0300.05020.25
7.0.20.0270.08020.25
7.0.10.0130.07720.09
7.0.00.0000.07320.09
5.6.280.0000.06720.78
5.6.210.0170.05320.49
5.6.200.0100.04318.27
5.6.190.0070.08020.48
5.6.180.3300.04020.61
5.6.170.0200.03720.56
5.6.160.0030.04320.54
5.6.150.0070.03318.18
5.6.140.0100.03718.28
5.6.130.0030.04318.18
5.6.120.0030.04321.00
5.6.110.0100.08021.03
5.6.100.0170.06721.11
5.6.90.0000.09721.10
5.6.80.0130.04720.44
5.5.350.0270.07720.35
5.5.340.0000.08718.00
5.5.330.0130.03320.35
5.5.320.0300.07720.29
5.5.310.0230.04020.50
5.5.300.0130.03718.01
5.5.290.0100.06717.98
5.5.280.0130.07720.98
5.5.270.0130.07720.77
5.5.260.0100.03320.77
5.5.250.0070.04720.59
5.5.240.0170.08720.29
5.4.450.1230.06719.57
5.4.440.0970.07319.55
5.4.430.0770.07019.57
5.4.420.0800.06719.43
5.4.410.0700.06319.44
5.4.400.1100.06719.05
5.4.390.1100.05719.23
5.4.380.1000.07019.08
5.4.370.0830.07019.21
5.4.360.1100.07319.21
5.4.350.1000.05719.23
5.4.340.0700.06319.01
5.4.320.0800.07018.81
5.4.310.0970.05319.11
5.4.300.0870.06319.24
5.4.290.0930.06319.10
5.4.280.0930.06719.04
5.4.270.1030.04719.24
5.4.260.0830.05718.81
5.4.250.0870.05719.00
5.4.240.0730.06318.88
5.4.230.1000.05319.34
5.4.220.0830.06719.11
5.4.210.1070.07019.24
5.4.200.0770.06018.79
5.4.190.0870.06318.88
5.4.180.0870.06019.05
5.4.170.1000.07019.23
5.4.160.0930.07019.22
5.4.150.0930.05019.32
5.4.140.0870.05716.43
5.4.130.0900.04316.27
5.4.120.0830.05016.31
5.4.110.0900.05316.58
5.4.100.0830.05716.47
5.4.90.0730.05016.54
5.4.80.0830.03716.48
5.4.70.0300.06016.44
5.4.60.0300.06016.51
5.4.50.0030.04716.43
5.4.40.0000.04316.32
5.4.30.0000.03316.50
5.4.20.0230.04316.52

preferences:
53.91 ms | 400 KiB | 5 Q