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:8:"previous";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.0100.01017.00
8.3.50.0160.00721.12
8.3.40.0070.01118.84
8.3.30.0110.00418.51
8.3.20.0040.00420.05
8.3.10.0050.00223.61
8.3.00.0030.00519.69
8.2.180.0080.01116.63
8.2.170.0090.00622.96
8.2.160.0140.00320.41
8.2.150.0000.00824.18
8.2.140.0000.00924.66
8.2.130.0000.00826.16
8.2.120.0050.00317.63
8.2.110.0040.00420.43
8.2.100.0080.00417.91
8.2.90.0030.00519.23
8.2.80.0000.00817.97
8.2.70.0000.00817.49
8.2.60.0070.00318.05
8.2.50.0040.00418.07
8.2.40.0070.00019.39
8.2.30.0050.00219.36
8.2.20.0040.00417.73
8.2.10.0070.00017.96
8.2.00.0040.00417.94
8.1.280.0110.00725.92
8.1.270.0070.01321.90
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00022.07
8.1.230.0000.01123.98
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0100.00017.35
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0020.00521.98
8.1.150.0000.00718.84
8.1.140.0050.00317.52
8.1.130.0050.00217.70
8.1.120.0040.00417.49
8.1.110.0040.00417.47
8.1.100.0000.00717.46
8.1.90.0020.00517.41
8.1.80.0040.00417.42
8.1.70.0000.00717.51
8.1.60.0040.00417.60
8.1.50.0000.00717.34
8.1.40.0040.00717.51
8.1.30.0000.00817.49
8.1.20.0050.00217.49
8.1.10.0000.00717.50
8.1.00.0040.00417.50
8.0.300.0030.00518.77
8.0.290.0030.00516.75
8.0.280.0000.00718.45
8.0.270.0000.00717.29
8.0.260.0030.00317.36
8.0.250.0050.00217.03
8.0.240.0000.00817.04
8.0.230.0030.00517.02
8.0.220.0070.00016.86
8.0.210.0050.00316.93
8.0.200.0000.00617.00
8.0.190.0030.00516.90
8.0.180.0000.00716.98
8.0.170.0040.00416.88
8.0.160.0050.00316.95
8.0.150.0030.00416.98
8.0.140.0050.00216.90
8.0.130.0000.00613.40
8.0.120.0040.00416.93
8.0.110.0040.00416.79
8.0.100.0030.00317.01
8.0.90.0070.00016.82
8.0.80.0060.00916.95
8.0.70.0000.00716.86
8.0.60.0000.00716.76
8.0.50.0000.00716.75
8.0.30.0070.01517.18
8.0.20.0120.00717.40
8.0.10.0080.00016.99
8.0.00.0080.01316.80
7.4.330.0050.00015.09
7.4.320.0040.00416.41
7.4.300.0000.00616.45
7.4.290.0070.00016.44
7.4.280.0040.00416.55
7.4.270.0050.00516.41
7.4.260.0000.00716.43
7.4.250.0000.00716.43
7.4.240.0050.00216.53
7.4.230.0030.00316.57
7.4.220.0080.00916.47
7.4.210.0050.00916.52
7.4.200.0030.00316.37
7.4.160.0090.00616.38
7.4.150.0090.00917.40
7.4.140.0140.00717.86
7.4.130.0090.01116.52
7.4.120.0100.00716.32
7.4.110.0040.01516.71
7.4.100.0180.00616.24
7.4.90.0100.00716.58
7.4.80.0160.00019.39
7.4.70.0170.00616.43
7.4.60.0030.01416.48
7.4.50.0040.00416.43
7.4.40.0110.00416.39
7.4.30.0180.00016.31
7.4.00.0140.00014.90
7.3.330.0000.00613.34
7.3.320.0030.00313.33
7.3.310.0000.00816.37
7.3.300.0040.00416.26
7.3.290.0080.00616.26
7.3.280.0060.01116.32
7.3.270.0130.01017.40
7.3.260.0100.00616.45
7.3.250.0100.00716.44
7.3.240.0130.00616.38
7.3.230.0030.01816.39
7.3.210.0150.00616.22
7.3.200.0030.01416.36
7.3.190.0030.01616.39
7.3.180.0090.00616.55
7.3.170.0070.01416.45
7.3.160.0130.01016.46
7.2.330.0060.01216.49
7.2.320.0120.00916.68
7.2.310.0130.00416.64
7.2.300.0150.00416.59
7.2.290.0120.00616.56
7.2.80.0060.00316.46
7.2.60.0120.00016.59
7.2.00.0100.00719.10
7.1.200.0000.01515.85
7.1.100.0100.00317.95
7.1.70.0000.00816.70
7.1.60.0060.01019.27
7.1.50.0160.02034.80
7.1.00.0100.07022.47
7.0.200.0000.00716.62
7.0.60.0130.07720.02
7.0.50.0070.05717.89
7.0.40.0030.05020.24
7.0.30.0600.06320.23
7.0.20.0200.06320.33
7.0.10.0070.04320.28
7.0.00.0030.07320.24
5.6.280.0000.07320.78
5.6.210.0100.03720.63
5.6.200.0030.05318.19
5.6.190.0070.08720.48
5.6.180.3270.03320.41
5.6.170.0330.04320.48
5.6.160.0070.04320.50
5.6.150.0030.05318.15
5.6.140.0030.08718.14
5.6.130.0070.05318.17
5.6.120.0130.05020.95
5.6.110.0170.07321.14
5.6.100.0030.07721.11
5.6.90.0030.08721.00
5.6.80.0070.06720.43
5.6.70.4200.02720.38
5.5.350.0070.04320.41
5.5.340.0070.03317.96
5.5.330.0070.07720.28
5.5.320.0330.05320.31
5.5.310.0330.08020.34
5.5.300.0070.08017.99
5.5.290.0070.07317.98
5.5.280.0070.08020.87
5.5.270.0100.07720.96
5.5.260.0000.07320.73
5.5.250.0030.07720.62
5.5.240.0070.07720.16
5.4.450.0270.05019.12
5.4.440.0230.05319.33
5.4.430.0170.05719.38
5.4.420.0270.04719.55
5.4.410.0230.04718.99
5.4.400.0370.06319.06
5.4.390.0200.05318.97
5.4.380.0130.05719.05
5.4.370.0070.06319.05
5.4.360.0270.06019.34
5.4.350.0300.07019.27
5.4.340.0330.05319.22
5.4.320.0330.06319.25
5.4.310.0400.06019.11
5.4.300.0070.06319.24
5.4.290.0300.05719.21
5.4.280.0230.06019.25
5.4.270.0230.07319.25
5.4.260.0230.05019.05
5.4.250.0230.05019.05
5.4.240.0400.05719.05
5.4.230.0130.08319.02
5.4.220.0330.07018.81
5.4.210.0170.06319.05
5.4.200.0130.05318.88
5.4.190.0270.04319.23
5.4.180.0270.04319.05
5.4.170.0270.05018.79
5.4.160.0100.07718.87
5.4.150.0270.05319.03
5.4.140.0230.04716.42
5.4.130.0200.05716.47
5.4.120.0170.05316.32
5.4.110.0200.05316.18
5.4.100.0270.06316.22
5.4.90.0170.05316.61
5.4.80.0200.05716.55
5.4.70.0330.07716.54
5.4.60.0330.06016.48
5.4.50.0030.07016.51
5.4.40.0030.06316.34
5.4.30.0030.03016.52
5.4.20.0270.03316.18

preferences:
62.97 ms | 401 KiB | 5 Q