3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateUne = new DateTime; $dateDeux = $dateUne; $dateDeux->modify('+1 day'); var_dump($dateUne, $dateDeux); // $dateUne et $dateDeux désignent le même objet en mémoire. // Ils sont donc tous les deux au lendemain

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.3.130.0250.00817.12
8.3.120.0200.00817.47
8.3.110.0170.00817.39
8.3.100.0230.00928.26
8.3.90.0240.00823.95
8.3.80.0260.00824.44
8.3.70.0310.00723.14
8.3.60.0280.00924.62
8.3.50.0200.00724.01
8.3.40.0230.00723.53
8.3.30.0220.00823.31
8.3.20.0210.00824.15
8.3.10.0180.00824.10
8.3.00.0210.00723.95
8.2.250.0160.00516.78
8.2.240.0240.00716.84
8.2.230.0210.00516.97
8.2.220.0190.00622.58
8.2.210.0190.00523.43
8.2.200.0230.00724.87
8.2.190.0230.00723.92
8.2.180.0240.00824.14
8.2.170.0280.00823.80
8.2.160.0250.00723.62
8.2.150.0220.00724.08
8.2.140.0210.00723.95
8.2.130.0210.00724.33
8.2.120.0220.00724.02
8.2.110.0190.00723.21
8.2.100.0190.00722.42
8.2.90.0190.00621.81
8.2.80.0200.00722.73
8.2.70.0170.00634.93
8.2.60.0170.00625.25
8.2.50.0170.00624.53
8.2.40.0150.00624.17
8.2.30.0140.00623.67
8.2.20.0130.00623.35
8.2.10.0130.00623.97
8.2.00.0150.00623.50
8.1.300.0240.00916.70
8.1.290.0260.00726.33
8.1.280.0260.00723.70
8.1.270.0200.00724.17
8.1.260.0190.00724.70
8.1.250.0200.00624.41
8.1.240.0170.00623.02
8.1.230.0170.00722.88
8.1.220.0180.00622.63
8.1.210.0180.00622.79
8.1.200.0160.00627.13
8.1.190.0170.00626.61
8.1.180.0150.00625.52
8.1.170.0150.00624.86
8.1.160.0140.00624.34
8.1.150.0140.00524.10
8.1.140.0130.00623.31
8.1.130.0130.00522.79
8.1.120.0130.00622.62
8.1.110.0130.00522.38
8.1.100.0130.00522.08
8.1.90.0120.00621.78
8.1.80.0120.00521.38
8.1.70.0130.00521.54
8.1.60.0140.00521.05
8.1.50.0140.00520.98
8.1.40.0140.00520.79
8.1.30.0140.00520.72
8.1.20.0140.00520.52
8.1.10.0150.00520.38
8.1.00.0140.00620.30
8.0.300.0170.00621.94
8.0.290.0180.00728.04
8.0.280.0170.00624.06
8.0.270.0150.00523.29
8.0.260.0150.00522.55
8.0.250.0140.00522.38
8.0.240.0140.00522.05
8.0.230.0140.00521.90
8.0.220.0140.00521.54
8.0.210.0140.00521.43
8.0.200.0130.00521.19
8.0.190.0130.00520.97
8.0.180.0130.00520.78
8.0.170.0140.00520.56
8.0.160.0130.00520.41
8.0.150.0130.00520.17
8.0.140.0130.00519.94
8.0.130.0130.00519.77
8.0.120.0130.00519.45
8.0.110.0120.00519.34
8.0.100.0120.00519.12
8.0.90.0120.00519.07
8.0.80.0120.00519.17
8.0.70.0120.00519.18
8.0.60.0120.00519.17
8.0.50.0130.00519.18
8.0.30.0120.00519.19
8.0.20.0120.00519.24
8.0.10.0120.00519.26
8.0.00.0100.00519.39
7.4.330.0120.00521.42
7.4.320.0160.00521.77
7.4.300.0140.00521.63
7.4.290.0140.00520.29
7.4.280.0140.00519.87
7.4.270.0140.00519.48
7.4.260.0150.00519.45
7.4.250.0150.00519.20
7.4.240.0140.00519.07
7.4.230.0140.00518.91
7.4.220.0120.00518.86
7.4.210.0120.00418.87
7.4.200.0120.00518.88
7.4.190.0120.00518.93
7.4.180.0120.00518.92
7.4.160.0120.00518.91
7.4.150.0120.00518.88
7.4.140.0120.00518.83
7.4.130.0120.00518.78
7.4.120.0120.00518.79
7.4.110.0120.00518.77
7.4.100.0120.00518.85
7.4.90.0120.00518.81
7.4.80.0120.00518.77
7.4.70.0120.00518.77
7.4.60.0120.00518.76
7.4.50.0120.00518.72
7.4.40.0120.00518.72
7.4.30.0120.00518.75
7.4.20.0120.00518.76
7.4.10.0120.00518.72
7.4.00.0110.00519.09
7.3.330.0140.00519.38
7.3.320.0150.00419.06
7.3.310.0140.00418.93
7.3.300.0130.00418.73
7.3.290.0130.00518.69
7.3.280.0140.00518.71
7.3.270.0130.00518.70
7.3.260.0130.00518.69
7.3.250.0140.00518.75
7.3.240.0130.00518.73
7.3.230.0140.00518.69
7.3.220.0140.00518.70
7.3.210.0140.00518.70
7.3.200.0140.00518.69
7.3.190.0130.00518.69
7.3.180.0130.00518.70
7.3.170.0130.00518.70
7.3.160.0130.00518.69
7.3.150.0140.00418.70
7.3.140.0140.00418.70
7.3.130.0140.00418.67
7.3.120.0130.00418.69
7.3.110.0130.00518.65
7.3.100.0130.00418.64
7.3.90.0130.00518.84
7.3.80.0140.00418.64
7.3.70.0130.00518.74
7.3.60.0130.00518.78
7.3.50.0130.00518.77
7.3.40.0130.00518.77
7.3.30.0130.00518.79
7.3.20.0150.00419.69
7.3.10.0140.00419.64
7.3.00.0140.00519.63

preferences:
55.29 ms | 403 KiB | 5 Q