3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strtotime('-1 day', time())); ?>

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)
7.3.10.0030.01416.50
7.3.00.0060.00916.65
7.2.130.0060.00917.03
7.2.120.0100.00616.98
7.2.110.0000.01016.95
7.2.100.0100.00716.81
7.2.90.0040.01117.01
7.2.80.0000.01816.99
7.2.70.0040.00716.80
7.2.60.0040.01116.97
7.2.50.0080.00816.91
7.2.40.0000.01417.04
7.2.30.0070.00716.64
7.2.20.0040.00817.14
7.2.10.0040.01417.02
7.2.00.0080.00618.16
7.1.250.0030.00615.53
7.1.200.0040.00715.94
7.1.100.0140.00418.05
7.1.70.0000.00817.44
7.1.60.0070.01719.28
7.1.50.0070.01717.04
7.1.00.0030.07722.28
7.0.200.0160.01016.71
7.0.100.0030.04319.95
7.0.90.0030.09019.80
7.0.80.0100.07020.12
7.0.70.0100.07319.86
7.0.60.0000.04319.95
7.0.50.0170.07020.23
7.0.40.0030.04320.13
7.0.30.0100.05020.13
7.0.20.0070.04020.10
7.0.10.0030.04019.95
7.0.00.0070.04020.11
5.6.280.0000.04721.04
5.6.250.0030.04320.63
5.6.240.0070.04020.57
5.6.230.0070.03720.56
5.6.220.0000.04320.57
5.6.210.0030.05020.58
5.6.200.0100.07321.05
5.6.190.0100.05021.04
5.6.180.0070.04021.13
5.6.170.0030.04321.13
5.6.160.0030.04720.93
5.6.150.0100.03321.12
5.6.140.0070.04021.05
5.6.130.0070.04321.16
5.6.120.0030.04321.10
5.6.110.0030.04021.00
5.6.100.0030.04320.94
5.6.90.0030.05720.92
5.6.80.0100.03320.48
5.6.70.0030.03720.30
5.6.60.0070.03320.29
5.6.50.0100.04020.39
5.6.40.0030.04020.30
5.6.30.0030.04020.29
5.6.20.0100.06720.40
5.6.10.0030.07320.52
5.6.00.0030.06720.27
5.5.380.0000.04320.41
5.5.370.0000.04020.41
5.5.360.0070.04320.47
5.5.350.0070.03720.33
5.5.340.0030.05720.85
5.5.330.0030.04320.86
5.5.320.0070.04020.84
5.5.310.0000.04320.85
5.5.300.0030.04020.90
5.5.290.0100.04320.63
5.5.280.0030.04320.85
5.5.270.0030.04020.78
5.5.260.0070.03720.88
5.5.250.0030.05020.57
5.5.240.0100.03320.29
5.5.230.0070.04320.28
5.5.220.0070.07020.29
5.5.210.0030.05020.14
5.5.200.0000.04320.23
5.5.190.0030.06020.14
5.5.180.0070.03320.26
5.5.160.0100.07320.26
5.5.150.0030.07720.22
5.5.140.0070.08019.98
5.5.130.0000.08720.11
5.5.120.0030.06020.21
5.5.110.0130.04320.09
5.5.100.0170.07020.06
5.5.90.0030.08020.00
5.5.80.0030.07320.08
5.5.70.0100.08720.05
5.5.60.0170.06320.00
5.5.50.0170.07720.05
5.5.40.0130.07319.94
5.5.30.0100.07320.04
5.5.20.0070.04719.96
5.5.10.0070.06019.97
5.5.00.0100.04020.04

preferences:
27.99 ms | 401 KiB | 5 Q