3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = time(); $max_age = '6 months'; echo (strtotime($max_age) - $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.4.00.0000.01915.13
7.3.120.0130.00314.86
7.3.110.0060.01314.85
7.3.100.0090.00315.26
7.3.90.0060.00614.88
7.3.80.0040.00814.85
7.3.70.0060.00615.02
7.3.60.0090.00615.05
7.3.50.0070.01014.78
7.3.40.0090.00615.11
7.3.30.0000.01214.96
7.3.20.0060.00316.73
7.3.10.0130.00516.49
7.3.00.0120.00316.43
7.2.250.0100.00715.20
7.2.240.0070.01315.34
7.2.230.0130.00315.18
7.2.220.0070.00714.89
7.2.210.0090.00615.30
7.2.200.0070.01015.30
7.2.190.0120.00615.10
7.2.180.0060.01115.18
7.2.170.0090.00615.25
7.2.130.0110.00816.54
7.2.120.0140.01416.54
7.2.110.0180.00716.11
7.2.100.0130.00716.18
7.2.90.0070.02216.51
7.2.80.0180.00916.70
7.2.70.0180.01016.50
7.2.60.0130.00916.75
7.2.50.0190.01116.68
7.2.40.0050.02016.30
7.2.30.0230.00816.48
7.2.20.0210.00816.38
7.2.10.0150.01216.71
7.2.00.0110.01416.80
7.1.330.0080.00616.21
7.1.320.0080.00416.05
7.1.310.0080.00815.58
7.1.300.0120.00316.05
7.1.290.0090.00616.03
7.1.280.0030.00716.08
7.1.270.0060.00315.95
7.1.260.0040.00415.91
7.1.250.0150.00415.65
7.1.200.0040.00816.06
7.1.70.0030.00717.40
7.1.60.0030.00717.48
7.1.00.0170.06322.59
7.0.200.0450.00314.96
7.0.140.0100.06322.07
7.0.130.0200.05722.07
7.0.120.0200.06722.11
7.0.110.0100.06322.09
7.0.100.0100.05722.13
7.0.90.0200.07022.23
7.0.80.0130.06322.15
7.0.70.0100.06021.97
7.0.60.0100.06322.03
7.0.50.0100.08722.21
7.0.40.0100.05722.02
7.0.30.0100.06322.05
7.0.20.0200.05322.02
7.0.10.0200.06321.96
7.0.00.0100.05722.11
5.6.280.0170.05720.99
5.6.270.0030.08721.07
5.6.260.0100.07020.94
5.6.250.0130.05020.80
5.6.240.0100.07721.10
5.6.230.0170.06321.05
5.6.220.0130.05320.79
5.6.210.0070.06721.08
5.6.200.0130.07321.05
5.6.190.0200.05020.86
5.6.180.0130.07321.07
5.6.170.0170.05320.81
5.6.160.0130.05021.03
5.6.150.0070.06321.04
5.6.140.0170.05021.05
5.6.130.0130.05020.91
5.6.120.0000.06721.01
5.6.110.0200.05020.85
5.6.100.0130.05720.71
5.6.90.0030.06320.89
5.6.80.0130.05020.15
5.6.70.0030.06020.27
5.6.60.0200.05020.26
5.6.50.0070.05720.39
5.6.40.0170.05320.38
5.6.30.0200.06020.23
5.6.20.0100.06020.13
5.6.10.0130.05020.37
5.6.00.0270.04320.20

preferences:
36.15 ms | 400 KiB | 5 Q