3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTimeImmutable; $newDate = $date->modify('+1 day'); echo $date->format('d/m/Y').PHP_EOL; echo $newDate->format('d/m/Y').PHP_EOL;

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.4.20.0130.00718.02
8.4.10.0190.00418.68
8.3.150.0070.01117.19
8.3.140.0160.00416.57
8.3.130.0120.00517.49
8.3.120.0120.00118.11
8.3.110.0140.00418.74
8.3.100.0190.00722.94
8.3.90.0220.00520.55
8.3.80.0260.00320.72
8.3.70.0210.00520.62
8.3.60.0240.00722.02
8.3.50.0190.00621.07
8.3.40.0190.00721.23
8.3.30.0190.01021.37
8.3.20.0160.00723.00
8.3.10.0130.00722.80
8.3.00.0140.00623.00
8.2.260.0080.00417.54
8.2.250.0090.00617.18
8.2.240.0130.00216.71
8.2.230.0150.00417.73
8.2.220.0140.00419.13
8.2.210.0160.00520.55
8.2.200.0170.00420.61
8.2.190.0160.00620.65
8.2.180.0210.00722.20
8.2.170.0220.00621.19
8.2.160.0220.00721.74
8.2.150.0210.00622.32
8.2.140.0180.00522.83
8.2.130.0150.00623.08
8.2.120.0150.00822.77
8.2.110.0150.00622.49
8.2.100.0170.00621.88
8.2.90.0180.00521.45
8.2.80.0150.00721.46
8.2.70.0150.00629.14
8.2.60.0150.00725.15
8.2.50.0150.00624.68
8.2.40.0140.00523.78
8.2.30.0130.00623.66
8.2.20.0140.00423.77
8.2.10.0140.00523.60
8.2.00.0130.00523.34
8.1.310.0150.00316.14
8.1.300.0130.00416.74
8.1.290.0120.00622.17
8.1.280.0170.00722.03
8.1.270.0150.00523.10
8.1.260.0130.00623.32
8.1.250.0140.00623.23
8.1.240.0150.00521.73
8.1.230.0150.00721.81
8.1.220.0150.00721.50
8.1.210.0160.00621.59
8.1.200.0140.00625.55
8.1.190.0140.00625.28
8.1.180.0140.00624.70
8.1.170.0130.00624.11
8.1.160.0130.00524.11
8.1.150.0130.00623.66
8.1.140.0130.00623.52
8.1.130.0130.00522.92
8.1.120.0120.00522.31
8.1.110.0120.00521.86
8.1.100.0120.00521.63
8.1.90.0120.00521.36
8.1.80.0120.00521.01
8.1.70.0110.00520.72
8.1.60.0130.00520.53
8.1.50.0130.00520.29
8.1.40.0130.00520.09
8.1.30.0130.00619.95
8.1.20.0140.00519.79
8.1.10.0130.00619.45
8.1.00.0140.00519.57
8.0.300.0140.00521.20
8.0.290.0170.00525.44
8.0.280.0160.00523.80
8.0.270.0140.00523.29
8.0.260.0140.00622.58
8.0.250.0140.00521.98
8.0.240.0130.00521.48
8.0.230.0120.00621.18
8.0.220.0130.00521.00
8.0.210.0130.00520.68
8.0.200.0130.00520.37
8.0.190.0120.00520.13
8.0.180.0120.00519.86
8.0.170.0120.00519.66
8.0.160.0120.00519.47
8.0.150.0130.00519.17
8.0.140.0130.00519.06
8.0.130.0130.00519.00
8.0.120.0130.00518.95
8.0.110.0110.00518.82
8.0.100.0110.00518.67
8.0.90.0110.00518.54
8.0.80.0110.00518.69
8.0.70.0110.00518.68
8.0.60.0110.00518.62
8.0.50.0120.00518.63
8.0.30.0110.00518.63
8.0.20.0110.00518.71
8.0.10.0110.00518.75
8.0.00.0090.00518.82
7.4.330.0120.00421.39
7.4.320.0150.00521.27
7.4.300.0140.00520.06
7.4.290.0140.00419.47
7.4.280.0140.00519.09
7.4.270.0130.00518.70
7.4.260.0130.00518.52
7.4.250.0140.00518.62
7.4.240.0130.00518.46
7.4.230.0130.00518.37
7.4.220.0110.00518.28
7.4.210.0110.00518.30
7.4.200.0120.00518.32
7.4.190.0120.00518.38
7.4.180.0120.00418.38
7.4.160.0110.00518.34
7.4.150.0110.00518.31
7.4.140.0110.00518.25
7.4.130.0110.00518.26
7.4.120.0120.00518.28
7.4.110.0120.00418.26
7.4.100.0120.00418.31
7.4.90.0120.00418.25
7.4.80.0120.00518.25
7.4.70.0120.00418.24
7.4.60.0120.00518.25
7.4.50.0120.00418.19
7.4.40.0110.00518.19
7.4.30.0110.00518.33
7.4.20.0110.00518.24
7.4.10.0110.00518.84
7.4.00.0110.00418.26
7.3.330.0140.00518.48
7.3.320.0140.00518.39
7.3.310.0130.00418.23
7.3.300.0130.00518.18
7.3.290.0120.00518.08
7.3.280.0130.00518.12
7.3.270.0130.00418.11
7.3.260.0130.00418.11
7.3.250.0130.00418.15
7.3.240.0130.00518.16
7.3.230.0130.00418.11
7.3.220.0130.00518.11
7.3.210.0130.00518.10
7.3.200.0130.00518.10
7.3.190.0130.00518.11
7.3.180.0130.00518.11
7.3.170.0130.00418.12
7.3.160.0130.00518.10
7.3.150.0130.00418.10
7.3.140.0130.00518.09
7.3.130.0130.00418.10
7.3.120.0120.00518.10
7.3.110.0130.00518.07
7.3.100.0120.00418.06
7.3.90.0130.00518.26
7.3.80.0130.00418.08
7.3.70.0120.00518.15
7.3.60.0120.00418.21
7.3.50.0130.00418.20
7.3.40.0120.00518.20
7.3.30.0120.00418.19
7.3.20.0140.00419.20
7.3.10.0140.00419.14
7.3.00.0130.00519.13

preferences:
58.68 ms | 403 KiB | 5 Q