3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function __serialize() { return []; } public function __unserialize(array $data) {} } var_dump(unserialize('C:1:"C":6:{a:0:{}}'));

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.30.0110.00418.72
8.3.20.0000.00724.18
8.3.10.0000.00724.66
8.3.00.0000.00726.16
8.2.160.0030.01022.96
8.2.150.0020.00525.66
8.2.140.0030.00524.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0080.00322.17
8.2.100.0080.00417.78
8.2.90.0090.00022.20
8.2.80.0060.00318.48
8.2.70.0030.00617.50
8.2.60.0060.00317.80
8.2.50.0060.00318.07
8.2.40.0040.00419.76
8.2.30.0070.00017.98
8.2.20.0030.00620.68
8.2.10.0030.00517.85
8.2.00.0030.00519.10
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00321.95
8.1.230.0040.00721.11
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0000.00817.10
8.1.180.0030.00618.10
8.1.170.0040.00418.55
8.1.160.0040.00418.70
8.1.150.0040.00418.55
8.1.140.0070.00017.28
8.1.130.0040.00417.32
8.1.120.0070.00217.29
8.1.110.0060.00317.38
8.1.100.0050.00517.35
8.1.90.0030.00617.37
8.1.80.0000.00917.45
8.1.70.0070.00217.38
8.1.60.0070.00317.53
8.1.50.0130.00517.50
8.1.40.0160.00317.54
8.1.30.0130.00317.52
8.1.20.0150.00417.43
8.1.10.0030.01417.39
8.1.00.0140.00317.33
8.0.300.0040.00418.77
8.0.290.0050.00516.63
8.0.280.0070.00018.31
8.0.270.0040.00417.81
8.0.260.0000.00716.81
8.0.250.0110.00316.81
8.0.240.0110.00416.77
8.0.230.0110.00316.72
8.0.220.0120.00316.66
8.0.210.0130.00016.59
8.0.200.0160.00016.74
8.0.190.0140.00016.73
8.0.180.0120.00216.69
8.0.170.0070.00716.68
8.0.160.0050.01016.71
8.0.150.0090.00616.66
8.0.140.0120.00216.74
8.0.130.0140.00016.65
8.0.120.0070.00716.74
8.0.110.0140.00016.73
8.0.100.0150.00016.79
8.0.90.0100.00316.75
8.0.80.0090.00516.73
8.0.70.0110.00316.74
8.0.60.0090.00516.69
8.0.50.0090.00516.61
8.0.30.0070.00716.70
8.0.20.0150.00016.68
8.0.10.0100.00316.86
7.4.330.0080.00414.29
7.4.320.0100.00616.44
7.4.300.0120.00316.34
7.4.290.0140.00016.23
7.4.280.0090.00316.22
7.4.270.0160.00016.37
7.4.260.0130.00316.39
7.4.250.0170.00016.34
7.4.240.0150.00016.34
7.4.230.0160.00016.23
7.4.220.0120.00216.24
7.4.210.0090.00416.21
7.4.200.0090.00516.32
7.4.190.0070.00716.45
7.4.180.0110.00416.29
7.4.160.0130.00216.41
7.4.150.0090.00516.32
7.4.140.0070.00716.25
7.4.130.0130.00016.15
7.4.120.0070.00416.12
7.4.110.0100.00016.21
7.4.100.0050.00516.27
7.4.90.0070.00716.30
7.4.80.0070.00416.21
7.4.70.0070.00016.23
7.4.60.0070.00016.25
7.4.50.0000.00716.25
7.4.40.0040.00416.05
7.4.30.0040.00416.22
7.4.20.0030.00316.08
7.4.10.0000.00816.20
7.4.00.0080.00016.09

preferences:
27.01 ms | 401 KiB | 5 Q