3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \DateTime('2020-01-01 12:34:56 UTC'); $b = clone $a; var_dump($a, $b, $a === $b);

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.30.0020.00619.68
8.5.20.0120.00818.82
8.5.10.0080.01116.86
8.5.00.0130.00919.80
8.4.180.0130.00825.53
8.4.170.0060.00423.70
8.4.160.0140.00823.60
8.4.150.0080.00416.86
8.4.140.0130.01117.62
8.4.130.0110.00918.66
8.4.120.0150.00519.53
8.4.110.0130.00824.09
8.4.100.0140.00717.81
8.4.90.0140.00520.32
8.4.80.0070.00220.74
8.4.70.0120.00820.50
8.4.60.0110.00820.39
8.4.50.0090.00918.38
8.4.40.0000.00817.82
8.4.30.0060.00918.73
8.4.20.0170.00317.98
8.4.10.0140.00719.46
8.3.300.0120.00922.79
8.3.290.0100.01120.80
8.3.280.0110.00920.41
8.3.270.0130.00616.27
8.3.260.0130.00616.50
8.3.250.0100.00916.46
8.3.240.0130.00616.75
8.3.230.0050.00316.70
8.3.220.0120.00718.73
8.3.210.0070.00116.77
8.3.200.0060.00516.66
8.3.190.0050.00319.00
8.3.180.0120.00718.98
8.3.170.0120.00618.73
8.3.160.0140.00317.18
8.3.150.0060.01218.84
8.3.140.0070.01116.43
8.3.130.0050.00318.66
8.3.120.0030.00620.65
8.3.110.0090.00018.47
8.3.100.0040.01116.77
8.3.90.0080.00026.77
8.3.80.0040.00418.55
8.3.70.0090.01216.75
8.3.60.0100.01018.40
8.3.50.0140.00316.45
8.3.40.0180.00423.56
8.3.30.0130.00418.96
8.3.20.0040.00424.18
8.3.10.0030.00524.66
8.3.00.0030.00526.16
8.2.300.0090.01218.12
8.2.290.0120.00716.58
8.2.280.0080.01118.54
8.2.270.0070.01117.33
8.2.260.0140.00418.38
8.2.250.0050.00517.33
8.2.240.0150.00319.11
8.2.230.0080.00020.94
8.2.220.0100.01024.06
8.2.210.0060.00326.77
8.2.200.0040.00418.41
8.2.190.0110.01116.58
8.2.180.0100.01025.92
8.2.170.0150.00018.75
8.2.160.0100.00722.96
8.2.150.0060.00325.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.05
8.2.110.0040.00420.43
8.2.100.0110.00217.55
8.1.340.0100.01219.70
8.1.330.0090.01116.12
8.1.320.0090.01017.91
8.1.310.0100.00721.92
8.1.300.0060.00316.11
8.1.290.0060.00330.84
8.1.280.0140.00325.92
8.1.270.0030.00620.40
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0030.00618.78
8.1.230.0090.00318.70

preferences:
45.39 ms | 876 KiB | 5 Q