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.1.100.0050.00317.23
8.1.90.0030.00517.24
8.1.80.0040.00417.24
8.1.70.0000.00717.27
8.1.60.0040.00417.55
8.1.50.0090.00717.39
8.1.40.0110.00517.46
8.1.30.0110.00717.56
8.1.20.0140.00517.54
8.1.10.0140.00417.37
8.1.00.0150.00717.35
8.0.230.0070.00016.94
8.0.220.0050.00216.69
8.0.210.0030.00316.68
8.0.200.0000.00816.89
8.0.190.0040.00416.82
8.0.180.0120.00216.78
8.0.170.0090.00516.83
8.0.160.0100.00416.83
8.0.150.0130.00416.72
8.0.140.0120.00916.78
8.0.130.0150.00316.00
8.0.120.0130.00516.77
8.0.110.0110.00516.75
8.0.100.0110.00416.73
8.0.90.0080.00416.12
8.0.80.0100.00616.77
8.0.70.0100.00716.74
8.0.60.0090.00716.76
8.0.50.0090.00616.77
8.0.30.0150.00616.72
8.0.20.0170.00616.78
8.0.10.0160.00616.87
8.0.00.0100.00516.89
7.4.300.0050.00216.44
7.4.290.0020.00516.48
7.4.280.0170.00216.46
7.4.270.0100.00616.43
7.4.260.0120.00515.73
7.4.250.0110.00516.45
7.4.240.0110.00416.46
7.4.230.0100.00716.43
7.4.220.0130.00216.36
7.4.210.0110.00516.41
7.4.200.0080.00616.44
7.4.190.0100.00516.54
7.4.180.0090.00616.49
7.4.160.0140.00616.42
7.4.150.0120.00816.35
7.4.140.0140.00616.35
7.4.130.0160.00516.29
7.4.120.0130.00616.33
7.4.110.0120.00816.36
7.4.100.0130.00816.40
7.4.90.0150.00516.35
7.4.80.0150.00616.29
7.4.70.0140.00516.31
7.4.60.0130.00816.32
7.4.50.0150.00616.27
7.4.40.0130.00716.26
7.4.30.0130.00616.30
7.4.20.0140.00616.38
7.4.10.0140.00616.38
7.4.00.0140.00616.37
7.3.330.0120.00716.26
7.3.320.0150.00315.67
7.3.310.0130.00416.24
7.3.300.0090.00516.25
7.3.290.0080.00616.23
7.3.280.0140.00516.21
7.3.270.0160.00316.25
7.3.260.0150.00616.22
7.3.250.0170.00516.22
7.3.240.0140.00616.22
7.3.230.0150.00616.25
7.3.220.0130.00716.22
7.3.210.0160.00716.22
7.3.200.0160.00516.17
7.3.190.0120.00916.21
7.3.180.0150.00716.19
7.3.170.0150.00716.18
7.3.160.0130.00716.21
7.3.150.0160.00616.20
7.3.140.0140.00716.18
7.3.130.0140.00716.17
7.3.120.0120.00516.15
7.3.110.0160.00516.11
7.3.100.0140.00616.13
7.3.90.0150.00716.45
7.3.80.0150.00716.18
7.3.70.0170.00516.27
7.3.60.0150.00416.33
7.3.50.0140.00616.29
7.3.40.0150.00516.32
7.3.30.0160.00616.31
7.3.20.0160.00616.51
7.3.10.0130.00816.58
7.3.00.0160.00616.61
7.2.60.0080.00416.30

preferences:
11.58 ms | 406 KiB | 5 Q