3v4l.org

run code in 300+ PHP versions simultaneously
<?php class E { public function __construct(){ } public function __destruct(){ echo "destruct"; } public function __wakeup(){ echo "wake up"; } } var_dump(unserialize('C:1:"E":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.70.0120.00316.58
8.3.60.0150.00018.39
8.3.50.0140.00417.96
8.3.40.0070.01118.71
8.3.30.0040.01118.63
8.3.20.0000.00924.18
8.3.10.0000.00724.66
8.3.00.0080.00026.16
8.2.180.0130.00925.92
8.2.170.0060.01018.83
8.2.160.0070.01022.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0070.00019.64
8.2.110.0090.00621.31
8.2.100.0050.00718.43
8.2.90.0150.00418.54
8.2.80.0110.00518.04
8.2.70.0130.00517.74
8.2.60.0130.00417.80
8.2.50.0120.00418.08
8.2.40.0090.00418.55
8.2.30.0130.00417.75
8.2.20.0090.00618.34
8.2.10.0160.00218.04
8.2.00.0100.00617.95
8.1.280.0100.01025.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00121.22
8.1.230.0080.00919.61
8.1.220.0120.00717.91
8.1.210.0110.00418.48
8.1.200.0110.00517.59
8.1.190.0110.00417.46
8.1.180.0120.00617.76
8.1.170.0140.00417.68
8.1.160.0120.00417.79
8.1.150.0110.00518.15
8.1.140.0120.00318.09
8.1.130.0100.00517.47
8.1.120.0130.00517.53
8.1.110.0100.00617.38
8.1.100.0120.00617.34
8.1.90.0120.00517.37
8.1.80.0110.00617.37
8.1.70.0110.00617.39
8.1.60.0130.00517.53
8.1.50.0130.00617.47
8.1.40.0130.00617.49
8.1.30.0130.00517.57
8.1.20.0140.00517.55
8.1.10.0130.00517.44
8.1.00.0140.00617.38
8.0.300.0100.00717.78
8.0.290.0090.00617.04
8.0.280.0120.00417.61
8.0.270.0130.00317.54
8.0.260.0110.00517.33
8.0.250.0120.00517.33
8.0.240.0090.00417.00
8.0.230.0120.00517.02
8.0.220.0120.00416.94
8.0.210.0110.00516.94
8.0.200.0120.00416.99
8.0.190.0100.00616.97
8.0.180.0110.00616.95
8.0.170.0120.00516.96
8.0.160.0120.00516.96
8.0.150.0120.00416.90
8.0.140.0110.00616.90
8.0.130.0120.00516.71
8.0.120.0110.00616.88
8.0.110.0110.00516.90
8.0.100.0120.00516.88
8.0.90.0090.00516.58
8.0.80.0110.00516.93
8.0.70.0110.00516.89
8.0.60.0100.00616.88
8.0.50.0100.00516.88
8.0.30.0130.00516.84
8.0.20.0130.00516.91
8.0.10.0120.00617.00
8.0.00.0110.00517.07
7.4.330.0100.00319.49
7.4.320.0080.00516.68
7.4.300.0120.00416.72
7.4.290.0090.00516.62
7.4.280.0130.00316.66
7.4.270.0120.00416.64
7.4.260.0120.00516.47
7.4.250.0110.00516.63
7.4.240.0110.00416.65
7.4.230.0100.00616.63
7.4.220.0120.00316.59
7.4.210.0100.00516.62
7.4.200.0090.00516.60
7.4.190.0100.00416.71
7.4.180.0100.00416.66
7.4.160.0120.00516.67
7.4.150.0110.00616.54
7.4.140.0130.00516.54
7.4.130.0140.00416.50
7.4.120.0110.00616.52
7.4.110.0110.00616.54
7.4.100.0110.00616.52
7.4.90.0110.00516.61
7.4.80.0130.00516.48
7.4.70.0120.00416.46
7.4.60.0110.00716.45
7.4.50.0090.00516.39
7.4.40.0100.00616.46
7.4.30.0100.00516.49
7.4.20.0120.00416.47
7.4.10.0120.00516.53
7.4.00.0110.00516.61
7.3.330.0120.00516.60
7.3.320.0120.00616.37
7.3.310.0120.00516.50
7.3.300.0120.00416.50
7.3.290.0100.00516.42
7.3.280.0100.00516.37
7.3.270.0140.00416.45
7.3.260.0140.00416.43
7.3.250.0140.00416.45
7.3.240.0140.00416.44
7.3.230.0140.00516.47
7.3.220.0130.00616.40
7.3.210.0140.00516.42
7.3.200.0140.00516.39
7.3.190.0120.00716.40
7.3.180.0130.00616.39
7.3.170.0130.00616.40
7.3.160.0130.00516.39
7.3.150.0140.00516.43
7.3.140.0130.00616.40
7.3.130.0130.00516.38
7.3.120.0120.00516.35
7.3.110.0140.00416.34
7.3.100.0130.00516.35
7.3.90.0140.00516.62
7.3.80.0140.00616.39
7.3.70.0130.00616.45
7.3.60.0140.00516.52
7.3.50.0130.00616.48
7.3.40.0130.00516.49
7.3.30.0140.00516.50
7.3.20.0140.00616.86
7.3.10.0130.00616.79
7.3.00.0140.00516.82

preferences:
44.19 ms | 401 KiB | 5 Q