3v4l.org

run code in 300+ PHP versions simultaneously
<?php $passwordDate = time() - 60; $passwordDate = new \DateTime("@".$passwordDate); $passwordDate->setTimezone(new \DateTimeZone('America/Chicago')); $now = new \DateTime("now", new \DateTimeZone('America/Chicago')); $now->setTimezone(new \DateTimeZone('America/Chicago')); $now->diff($passwordDate)->format("%a")

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)
5.5.110.0000.04017.30
5.5.100.0000.04017.18
5.5.90.0000.03717.25
5.5.80.0030.03717.27
5.5.70.0000.04317.12
5.5.60.0030.03717.12
5.5.50.0000.04017.26
5.5.40.0030.03317.26
5.5.30.0000.04017.25
5.5.20.0030.03717.15
5.5.10.0030.03717.16
5.5.00.0030.04717.12
5.4.270.0070.03319.11
5.4.260.0030.03718.96
5.4.250.0000.04019.13
5.4.240.0100.03019.00
5.4.230.0030.03718.88
5.4.220.0070.03318.88
5.4.210.0070.03319.01
5.4.200.0030.03718.98
5.4.190.0070.03319.11
5.4.180.0030.03719.09
5.4.170.0070.03318.98
5.4.160.0030.04019.01
5.4.150.0000.04018.97
5.4.140.0000.04016.20
5.4.130.0000.03716.36
5.4.120.0070.03016.13
5.4.110.0030.03716.43
5.4.100.0070.03016.26
5.4.90.0030.03316.36
5.4.80.0030.05716.36
5.4.70.0030.08016.16
5.4.60.0070.04716.39
5.4.50.0070.07316.20
5.4.40.0070.07316.32
5.4.30.0030.07716.14
5.4.20.0130.06016.38
5.4.10.0070.05016.38
5.4.00.0100.04015.92
5.3.280.0030.04014.47
5.3.270.0030.03714.45
5.3.260.0030.04714.57
5.3.250.0030.08714.57
5.3.240.0000.04314.55
5.3.230.0030.03714.52
5.3.220.0070.03714.35
5.3.210.0030.03714.53
5.3.200.0070.03314.40
5.3.190.0000.04014.51
5.3.180.0000.04014.52
5.3.170.0030.05714.34
5.3.160.0070.05014.52
5.3.150.0100.07314.34
5.3.140.0000.06014.39
5.3.130.0070.05714.32
5.3.120.0100.06014.38
5.3.110.0170.05014.63
5.3.100.0030.04713.98
5.3.90.0070.07713.93
5.3.80.0170.03713.95
5.3.70.0130.07313.95
5.3.60.0070.07013.99
5.3.50.0100.06313.91
5.3.40.0030.04013.92
5.3.30.0000.04013.84
5.3.20.0070.03713.70
5.3.10.0030.06313.58
5.3.00.0030.04013.60

preferences:
137.81 ms | 1394 KiB | 7 Q