3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = new DateInterval('PT1S'); $interval->f = -0.000001; var_dump($interval->s, $interval->f); echo "\n"; $interval = unserialize(serialize($interval)); var_dump($interval->s, $interval->f);

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.130.0030.00318.74
8.1.120.0000.00717.38
8.1.110.0030.00717.44
8.1.100.0110.00417.35
8.1.90.0070.00517.43
8.1.80.0120.00317.40
8.1.70.0120.00417.39
8.1.60.0090.00517.46
8.1.50.0130.00517.43
8.1.40.0130.00417.41
8.1.30.0140.00317.55
8.1.20.0110.00617.46
8.1.10.0140.00317.51
8.1.00.0120.00717.53
8.0.260.0000.00618.51
8.0.250.0000.00716.93
8.0.240.0000.00716.96
8.0.230.0040.00716.88
8.0.220.0090.00516.86
8.0.210.0100.00516.79
8.0.200.0100.00416.90
8.0.190.0080.00616.84
8.0.180.0070.00616.85
8.0.170.0090.00416.86
8.0.160.0080.00516.86
8.0.150.0090.00516.80
8.0.140.0090.00716.74
8.0.130.0090.00616.12
8.0.120.0120.00316.83
8.0.110.0100.00516.84
8.0.100.0090.00516.82
8.0.90.0090.00516.83
8.0.80.0080.00516.85
8.0.70.0110.00416.81
8.0.60.0120.00416.82
8.0.50.0090.00616.81
8.0.30.0110.00416.82
8.0.20.0100.00516.88
8.0.10.0080.00716.96
8.0.00.0070.00616.97
7.4.330.0050.00015.55
7.4.320.0070.00016.54
7.4.300.0070.00616.47
7.4.290.0090.00516.46
7.4.280.0090.00516.38
7.4.270.0120.00516.50
7.4.260.0110.00416.46
7.4.250.0130.00416.38
7.4.240.0120.00416.46
7.4.230.0080.00716.47
7.4.220.0100.00616.47
7.4.210.0100.00616.47
7.4.200.0100.00516.48
7.4.190.0110.00316.55
7.4.180.0120.00316.41
7.4.160.0110.00516.47
7.4.150.0100.00416.41
7.4.140.0110.00516.34
7.4.130.0100.00416.34
7.4.120.0090.00516.34
7.4.110.0090.00316.35
7.4.100.0070.00616.45
7.4.90.0080.00416.38
7.4.80.0100.00316.32
7.4.70.0120.00216.39
7.4.60.0070.00416.33
7.4.50.0080.00516.26
7.4.40.0100.00316.30
7.4.30.0100.00316.34
7.4.20.0090.00416.31
7.4.10.0070.00716.36
7.4.00.0080.00516.42
7.3.330.0090.00616.18
7.3.320.0110.00515.53
7.3.310.0140.00216.22
7.3.300.0110.00416.19
7.3.290.0100.00516.19
7.3.280.0110.00416.22
7.3.270.0090.00616.19
7.3.260.0100.00616.19
7.3.250.0100.00616.14
7.3.240.0110.00516.24
7.3.230.0090.00716.21
7.3.220.0120.00316.18
7.3.210.0080.00816.18
7.3.200.0090.00716.19
7.3.190.0110.00416.20
7.3.180.0120.00516.21
7.3.170.0110.00416.18
7.3.160.0110.00516.23
7.3.150.0120.00316.13
7.3.140.0120.00416.19
7.3.130.0120.00316.19
7.3.120.0100.00416.12
7.3.110.0100.00516.10
7.3.100.0140.00216.23
7.3.90.0130.00216.41
7.3.80.0140.00116.10
7.3.70.0090.00516.26
7.3.60.0100.00516.37
7.3.50.0120.00216.35
7.3.40.0090.00616.42
7.3.30.0130.00416.40
7.3.20.0100.00517.37
7.3.10.0130.00417.34
7.3.00.0130.00417.38

preferences:
49.5 ms | 406 KiB | 5 Q