3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTimeImmutable('2023-11-20'); echo $date->modify('5 sundays from today')->format('Y-m-d');

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.0080.01321.74
8.4.150.0030.00014.05
8.4.140.0100.01017.98
8.4.130.0080.00317.86
8.4.120.0130.00822.18
8.4.110.0120.00622.53
8.4.100.0130.00718.10
8.4.90.0110.00618.34
8.4.80.0100.00917.95
8.4.70.0090.00718.21
8.4.60.0120.00618.36
8.4.50.0140.00719.91
8.4.40.0130.00318.29
8.4.30.0100.01023.89
8.4.20.0130.00619.89
8.4.10.0030.01119.60
8.3.280.0150.00718.55
8.3.270.0160.00416.61
8.3.260.0090.00716.61
8.3.250.0040.00418.79
8.3.240.0140.00616.84
8.3.230.0110.00816.89
8.3.220.0120.00717.22
8.3.210.0100.01016.98
8.3.200.0120.00816.70
8.3.190.0030.00518.86
8.3.180.0080.01020.72
8.3.170.0090.00917.07
8.3.160.0120.00620.45
8.3.150.0090.00917.16
8.3.140.0050.00916.88
8.3.130.0100.01018.52
8.3.120.0040.00420.77
8.3.110.0220.01016.52
8.3.100.0350.01016.49
8.3.90.0360.00716.44
8.3.80.0350.00816.56
8.3.70.0330.00716.66
8.3.60.0330.00716.52
8.3.50.0250.00916.29
8.3.40.0260.00317.55
8.3.30.0240.00717.50
8.3.20.0260.00617.52
8.3.10.0230.00717.65
8.3.00.0110.00818.05
8.2.290.0050.00420.26
8.2.280.0120.00620.67
8.2.270.0050.00516.73
8.2.260.0030.00517.48
8.2.250.0070.01318.82
8.2.240.0040.00418.91
8.2.230.0200.00516.63
8.2.220.0200.00616.66
8.2.210.0200.00716.62
8.2.200.0210.00616.74
8.2.190.0270.00316.82
8.2.180.0250.00316.64
8.2.170.0280.00717.75
8.2.160.0250.00417.75
8.2.150.0220.00517.54
8.2.140.0230.00617.60
8.2.130.0260.00317.48
8.2.120.0230.00717.54
8.2.110.0180.00817.64
8.2.100.0240.00917.49
8.2.90.0280.00517.54
8.2.80.0270.00617.57
8.2.70.0230.00617.61
8.2.60.0280.00517.54
8.2.50.0350.00317.59
8.2.40.0270.00317.48
8.2.30.0270.01017.45
8.2.20.0220.00817.66
8.2.10.0230.00617.57
8.2.00.0300.00317.62
8.1.330.0050.00316.91
8.1.320.0130.00816.28
8.1.310.0060.01216.73
8.1.300.0100.00018.14
8.1.290.0250.01016.38
8.1.280.0290.00516.31
8.1.270.0260.00517.44
8.1.260.0290.01017.31
8.1.250.0330.00817.18
8.1.240.0230.01017.29
8.1.230.0240.00717.37
8.1.220.0210.01017.29
8.1.210.0230.00817.46
8.1.200.0230.00817.29
8.1.190.0250.00817.10
8.1.180.0270.00517.33
8.1.170.0240.00717.44
8.1.160.0210.01117.29
8.1.150.0240.00717.28
8.1.140.0260.00717.25
8.1.130.0290.00217.32
8.1.120.0210.01017.44
8.1.110.0240.00917.26
8.1.100.0300.00417.29
8.1.90.0220.00817.29
8.1.80.0220.00717.42
8.1.70.0260.00717.33
8.1.60.0330.00317.41
8.1.50.0290.00817.23
8.1.40.0300.00717.33
8.1.30.0280.00717.48
8.1.20.0220.01017.33
8.1.10.0230.01017.38
8.1.00.0240.00617.41

preferences:
79.13 ms | 403 KiB | 5 Q