3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime; $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.0220.00718.24
8.4.10.0240.00717.87
8.3.150.0170.00917.62
8.3.140.0230.00316.91
8.3.130.0200.00617.00
8.3.120.0210.00617.17
8.3.110.0220.00817.90
8.3.100.0300.00721.32
8.3.90.0280.00620.11
8.3.80.0260.00725.86
8.3.70.0260.00620.75
8.3.60.0270.00722.15
8.3.50.0200.00721.83
8.3.40.0230.00721.70
8.3.30.0250.00621.96
8.3.20.0210.00622.89
8.3.10.0160.00822.96
8.3.00.0170.00722.86
8.2.270.0190.00516.97
8.2.260.0160.00717.37
8.2.250.0200.00316.69
8.2.240.0190.00616.65
8.2.230.0200.00616.89
8.2.220.0170.00620.27
8.2.210.0190.00620.06
8.2.200.0220.00621.90
8.2.190.0220.00721.42
8.2.180.0210.00722.09
8.2.170.0270.00621.90
8.2.160.0240.00722.16
8.2.150.0220.00822.74
8.2.140.0190.00722.81
8.2.130.0180.00722.85
8.2.120.0190.00722.42
8.2.110.0190.00622.27
8.2.100.0190.00721.79
8.2.90.0200.00721.60
8.2.80.0210.00721.69
8.2.70.0170.00635.57
8.2.60.0180.00725.14
8.2.50.0170.00724.67
8.2.40.0160.00624.11
8.2.30.0160.00523.64
8.2.20.0150.00623.38
8.2.10.0150.00623.26
8.2.00.0140.00623.63
8.1.310.0270.00516.42
8.1.300.0220.00816.64
8.1.290.0240.00822.34
8.1.280.0240.00721.84
8.1.270.0190.00722.88
8.1.260.0210.00723.03
8.1.250.0200.00622.98
8.1.240.0180.00721.87
8.1.230.0180.00621.73
8.1.220.0160.00721.62
8.1.210.0180.00521.72
8.1.200.0150.00625.51
8.1.190.0150.00624.93
8.1.180.0150.00624.56
8.1.170.0140.00624.19
8.1.160.0150.00623.81
8.1.150.0140.00623.55
8.1.140.0150.00523.30
8.1.130.0130.00522.56
8.1.120.0130.00622.30
8.1.110.0130.00521.70
8.1.100.0120.00521.39
8.1.90.0120.00521.09
8.1.80.0120.00520.95
8.1.70.0120.00520.52
8.1.60.0130.00620.27
8.1.50.0130.00519.98
8.1.40.0130.00619.78
8.1.30.0140.00519.70
8.1.20.0140.00519.59
8.1.10.0140.00519.36
8.1.00.0130.00619.33
8.0.300.0170.00521.26
8.0.290.0180.00526.63
8.0.280.0170.00523.47
8.0.270.0140.00523.01
8.0.260.0140.00522.22
8.0.250.0130.00521.90
8.0.240.0140.00521.32
8.0.230.0130.00520.96
8.0.220.0130.00520.62
8.0.210.0130.00520.45
8.0.200.0120.00520.09
8.0.190.0120.00519.82
8.0.180.0120.00519.55
8.0.170.0130.00519.32
8.0.160.0120.00519.13
8.0.150.0130.00518.97
8.0.140.0120.00518.81
8.0.130.0120.00518.67
8.0.120.0130.00518.45
8.0.110.0110.00518.36
8.0.100.0110.00518.25
8.0.90.0110.00518.21
8.0.80.0110.00518.24
8.0.70.0110.00518.22
8.0.60.0120.00518.19
8.0.50.0110.00518.18
8.0.30.0110.00518.19
8.0.20.0110.00518.23
8.0.10.0110.00518.28
8.0.00.0090.00518.42
7.4.330.0130.00421.31
7.4.320.0150.00521.04
7.4.300.0130.00519.68
7.4.290.0130.00519.16
7.4.280.0140.00518.75
7.4.270.0140.00518.45
7.4.260.0140.00518.27
7.4.250.0140.00518.09
7.4.240.0130.00517.96
7.4.230.0130.00517.91
7.4.220.0110.00517.88
7.4.210.0110.00417.87
7.4.200.0110.00517.89
7.4.190.0110.00417.91
7.4.180.0110.00517.91
7.4.160.0110.00517.91
7.4.150.0110.00517.86
7.4.140.0110.00517.80
7.4.130.0110.00517.80
7.4.120.0110.00417.79
7.4.110.0120.00417.78
7.4.100.0110.00517.83
7.4.90.0110.00417.77
7.4.80.0110.00517.78
7.4.70.0120.00417.78
7.4.60.0110.00517.78
7.4.50.0110.00417.71
7.4.40.0110.00517.71
7.4.30.0110.00517.78
7.4.20.0110.00417.77
7.4.10.0110.00517.78
7.4.00.0110.00517.82
7.3.330.0140.00518.10
7.3.320.0140.00417.90
7.3.310.0130.00517.75
7.3.300.0130.00517.69
7.3.290.0120.00517.61
7.3.280.0130.00517.63
7.3.270.0130.00417.63
7.3.260.0130.00417.64
7.3.250.0130.00417.69
7.3.240.0120.00417.68
7.3.230.0130.00417.63
7.3.220.0130.00417.62
7.3.210.0130.00517.63
7.3.200.0130.00517.63
7.3.190.0130.00517.63
7.3.180.0130.00417.63
7.3.170.0130.00417.63
7.3.160.0130.00517.63
7.3.150.0130.00417.63
7.3.140.0130.00417.63
7.3.130.0130.00417.63
7.3.120.0120.00517.64
7.3.110.0130.00517.59
7.3.100.0120.00517.59
7.3.90.0130.00417.80
7.3.80.0130.00417.59
7.3.70.0120.00417.67
7.3.60.0130.00417.72
7.3.50.0120.00417.73
7.3.40.0120.00517.73
7.3.30.0120.00517.73
7.3.20.0140.00418.90
7.3.10.0130.00518.82
7.3.00.0140.00518.81

preferences:
26.14 ms | 403 KiB | 5 Q