3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iv = new DateInterval("PT1S"); $iv->f = -1.000000; var_dump($iv->f); $iv->f = -2.000000; var_dump($iv->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.5.00.0120.00919.90
8.4.150.0000.00214.05
8.4.140.0080.01217.34
8.4.130.0120.00817.69
8.4.120.0100.01020.75
8.4.110.0110.00922.50
8.4.100.0100.00917.60
8.4.90.0120.00818.58
8.4.80.0040.00517.93
8.4.70.0080.00717.86
8.4.60.0110.00918.58
8.4.50.0080.00317.54
8.4.40.0070.01317.69
8.4.30.0130.00620.43
8.4.20.0140.00719.31
8.4.10.0090.00617.76
8.3.280.0160.00518.35
8.3.270.0120.00716.55
8.3.260.0120.00716.53
8.3.250.0160.00318.72
8.3.240.0100.00916.49
8.3.230.0140.00416.70
8.3.220.0110.00617.20
8.3.210.0110.00616.60
8.3.200.0040.00516.71
8.3.190.0100.00820.84
8.3.180.0110.00518.44
8.3.170.0100.00716.92
8.3.160.0150.00316.50
8.3.150.0110.00717.00
8.3.140.0070.01320.59
8.3.130.0030.00618.39
8.3.120.0090.00318.91
8.3.110.0000.00920.94
8.3.100.0040.00416.52
8.3.90.0140.00426.77
8.3.80.0060.00316.50
8.3.70.0150.00016.58
8.3.60.0040.01116.50
8.3.50.0030.01418.18
8.3.40.0150.00319.03
8.3.30.0140.00018.61
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0110.00820.27
8.2.280.0150.00418.29
8.2.270.0120.00617.14
8.2.260.0080.00022.07
8.2.250.0070.00416.84
8.2.240.0110.00818.97
8.2.230.0000.00822.58
8.2.220.0050.00324.06
8.2.210.0040.00426.77
8.2.200.0030.00616.63
8.2.190.0170.00316.75
8.2.180.0100.01025.92
8.2.170.0150.00318.83
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0100.00724.66
8.2.130.0040.00426.16
8.2.120.0050.00319.54
8.2.110.0040.00420.80
8.2.100.0070.00717.72
8.2.90.0000.00818.22
8.2.80.0040.00420.54
8.2.70.0040.00417.50
8.2.60.0000.00917.93
8.2.50.0090.00017.98
8.2.40.0080.00018.09
8.2.30.0050.00317.67
8.2.20.0000.00719.41
8.2.10.0030.00518.80
8.2.00.0030.00519.05
8.1.330.0100.01019.65
8.1.320.0110.00816.26
8.1.310.0070.00318.32
8.1.300.0060.00315.88
8.1.290.0030.00630.84
8.1.280.0000.01825.92
8.1.270.0080.00023.99
8.1.260.0100.00026.35
8.1.250.0100.00728.09
8.1.240.0060.00322.24
8.1.230.0080.00420.93
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0060.00317.36
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0000.00717.63
8.1.160.0000.00718.69
8.1.150.0040.00418.64
8.1.140.0040.00417.55
8.1.130.0070.00019.22
8.1.120.0050.00217.40
8.1.110.0000.00717.46
8.1.100.0030.00717.45
8.1.90.0070.00017.49
8.1.80.0000.00817.34
8.1.70.0000.00717.52
8.1.60.0060.00317.46
8.1.50.0050.00317.38
8.1.40.0040.00417.36
8.1.30.0000.00817.65
8.1.20.0040.00417.55
8.1.10.0040.00417.52
8.1.00.0040.00417.47
8.0.300.0030.00520.16
8.0.290.0040.00716.75
8.0.280.0000.00718.39
8.0.270.0040.00416.76
8.0.260.0030.00316.72
8.0.250.0000.00816.81
8.0.240.0060.00016.95
8.0.230.0000.00716.80
8.0.220.0050.00216.75
8.0.210.0070.00016.70
8.0.200.0000.00716.94
8.0.190.0040.00416.92
8.0.180.0040.00416.93
8.0.170.0030.00616.82
8.0.160.0040.00416.80
8.0.150.0000.00716.80
8.0.140.0030.00516.65
8.0.130.0000.00613.27
8.0.120.0030.00516.73
8.0.110.0050.00516.83
8.0.100.0000.00816.82
8.0.90.0030.00516.77
8.0.80.0040.00416.86
8.0.70.0000.00816.72
8.0.60.0060.00316.84
8.0.50.0030.00516.73
8.0.30.0000.00716.82
8.0.20.0000.00716.86
8.0.10.0020.00517.00
8.0.00.0040.00416.94
7.4.330.0050.00015.55
7.4.320.0060.00016.45
7.4.300.0000.00616.38
7.4.290.0000.00716.39
7.4.280.0000.00816.44
7.4.270.0070.00016.57
7.4.260.0000.00613.25
7.4.250.0030.00316.50
7.4.240.0050.00316.44
7.4.230.0040.00416.36
7.4.220.0080.00016.55
7.4.210.0000.00816.54
7.4.200.0000.00716.34
7.4.190.0000.00716.50
7.4.180.0070.00016.40
7.4.160.0000.00716.51
7.4.150.0070.00016.36
7.4.140.0070.00016.39
7.4.130.0030.00316.43
7.4.120.0050.00216.33
7.4.110.0040.00416.39
7.4.100.0050.00316.41
7.4.90.0000.00816.40
7.4.80.0000.00816.35
7.4.70.0000.00716.30
7.4.60.0030.00316.35
7.4.50.0030.00316.36
7.4.40.0070.00016.27
7.4.30.0000.00816.36
7.4.20.0040.00416.42
7.4.10.0070.00016.33
7.4.00.0080.00016.28
7.3.330.0000.00716.21
7.3.320.0000.00513.08
7.3.310.0000.00816.13
7.3.300.0040.00416.14
7.3.290.0030.00516.14
7.3.280.0000.00716.28
7.3.270.0040.00416.30
7.3.260.0040.00416.27
7.3.250.0040.00416.16
7.3.240.0000.00716.35
7.3.230.0040.00416.21
7.3.220.0050.00316.04
7.3.210.0040.00416.15
7.3.200.0030.00516.30
7.3.190.0070.00016.14
7.3.180.0030.00316.01
7.3.170.0000.00716.23
7.3.160.0000.00816.02
7.3.150.0050.00316.16
7.3.140.0000.00816.04
7.3.130.0040.00416.14
7.3.120.0070.00016.18
7.3.110.0030.00316.02
7.3.100.0000.00816.21
7.3.90.0030.00316.34
7.3.80.0040.00416.14
7.3.70.0000.00816.32
7.3.60.0040.00416.35
7.3.50.0000.00716.34
7.3.40.0030.00316.09
7.3.30.0030.00316.25
7.3.20.0080.00018.21
7.3.10.0070.00018.12
7.3.00.0040.00418.17

preferences:
145.8 ms | 403 KiB | 5 Q