3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( (new DateTimeImmutable()) ->modify('potato') );

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.10.0000.00822.04
8.3.140.0110.00418.83
8.3.130.0030.00716.80
8.3.120.0070.00318.95
8.3.110.0070.00420.94
8.3.100.0070.00718.76
8.3.90.0030.00526.77
8.3.80.0060.00316.88
8.3.70.0140.00716.63
8.3.60.0110.01116.50
8.3.50.0150.00020.37
8.3.40.0030.01420.22
8.3.30.0060.00818.93
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.260.0000.01516.72
8.2.250.0080.00018.35
8.2.240.0070.00317.28
8.2.230.0000.00822.58
8.2.220.0060.00324.06
8.2.210.0040.01126.77
8.2.200.0060.00318.41
8.2.190.0100.01016.88
8.2.180.0150.00025.92
8.2.170.0190.00418.79
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0040.00426.16
8.2.110.0000.00920.35
8.2.100.0080.00417.48
8.2.90.0000.00819.09
8.2.80.0040.00418.86
8.2.70.0030.00617.63
8.2.60.0030.00517.91
8.2.50.0000.01018.07
8.2.40.0000.00817.96
8.2.30.0000.00817.92
8.2.20.0050.00322.27
8.2.10.0040.00418.01
8.2.00.0000.00819.05
8.1.310.0090.00916.40
8.1.300.0030.00620.09
8.1.290.0090.00018.88
8.1.280.0000.01425.92
8.1.270.0090.00023.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00722.07
8.1.230.0110.00022.20
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0090.00017.48
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0030.00618.71
8.1.160.0040.00418.82
8.1.150.0030.00718.60
8.1.140.0040.00417.38
8.1.130.0070.00018.82
8.1.120.0000.00717.42
8.1.110.0050.00317.53
8.1.100.0000.00717.40
8.1.90.0090.00517.34
8.1.80.0130.00317.36
8.1.70.0100.00517.37
8.1.60.0100.00717.51
8.1.50.0090.00917.50
8.1.40.0130.00417.45
8.1.30.0170.00017.63
8.1.20.0090.00917.52
8.1.10.0150.00317.58
8.1.00.0140.00517.57
8.0.300.0040.00418.77
8.0.290.0060.00317.00
8.0.280.0030.00318.34
8.0.270.0000.00817.01
8.0.260.0030.00618.45
8.0.250.0070.00017.02
8.0.240.0040.00416.98
8.0.230.0000.00717.11
8.0.220.0030.00317.02
8.0.210.0090.00516.89
8.0.200.0060.00917.11
8.0.190.0150.00017.09
8.0.180.0110.00417.01
8.0.170.0120.00416.93
8.0.160.0140.00016.91
8.0.150.0000.01516.86
8.0.140.0150.00016.98
8.0.130.0150.00016.84
8.0.120.0090.00617.00
8.0.110.0150.00017.04
8.0.100.0150.00017.02
8.0.90.0110.00516.96
8.0.80.0070.00717.06
8.0.70.0130.00217.06
8.0.60.0050.01016.90
8.0.50.0070.00716.91
8.0.30.0110.00416.84
8.0.20.0040.01116.93
8.0.10.0140.00017.10
7.4.330.0020.00215.55
7.4.320.0060.00016.60
7.4.300.0120.00016.49
7.4.290.0090.00315.90
7.4.280.0080.00316.48
7.4.270.0040.00716.60
7.4.260.0050.00516.50
7.4.250.0110.00016.36
7.4.240.0110.00016.41
7.4.230.0090.00216.36
7.4.220.0100.00316.50
7.4.210.0100.00516.57
7.4.200.0110.00316.57
7.4.190.0140.00016.58
7.4.180.0090.00616.64
7.4.160.0080.00516.56
7.4.150.0130.00216.57
7.4.140.0000.01416.59
7.4.130.0060.00616.39
7.4.120.0070.00516.37
7.4.110.0030.00716.47
7.4.100.0070.00316.39
7.4.90.0070.00316.38
7.4.80.0050.00516.45
7.4.70.0090.00316.01
7.4.60.0050.00516.25
7.4.50.0100.00016.27
7.4.40.0110.00016.23
7.4.30.0070.00316.26
7.4.20.0050.00516.32
7.4.10.0080.00316.37
7.4.00.0050.00516.45

preferences:
62.22 ms | 403 KiB | 5 Q