3v4l.org

run code in 300+ PHP versions simultaneously
<?php strtotime('last Monday', strtotime(date('U', 'now'))); strtotime('last Monday', strtotime(date('U', 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.0100.00715.07
7.3.120.0080.00914.83
7.3.110.0080.00814.94
7.3.100.0080.00715.00
7.3.90.0060.01014.92
7.3.80.0120.00314.83
7.3.70.0030.01114.88
7.3.60.0020.01114.86
7.3.50.0060.00514.91
7.3.40.0070.00614.98
7.3.30.0050.00814.80
7.3.20.0060.00616.72
7.3.10.0080.00416.66
7.3.00.0050.00916.78
7.2.250.0080.00515.04
7.2.240.0070.01215.10
7.2.230.0050.01214.87
7.2.220.0080.00814.93
7.2.210.0050.00815.17
7.2.200.0060.00615.02
7.2.190.0060.00814.94
7.2.180.0040.00915.04
7.2.170.0070.00714.93
7.2.160.0110.00014.79
7.2.150.0030.01616.52
7.2.140.0030.01016.90
7.2.130.0060.00616.99
7.2.120.0080.00416.90
7.2.110.0100.00616.91
7.2.100.0070.01016.86
7.2.90.0060.00917.12
7.2.80.0030.00916.57
7.2.70.0130.00916.85
7.2.60.0080.00616.76
7.2.50.0030.01017.11
7.2.40.0070.01016.66
7.2.30.0080.00517.07
7.2.20.0060.00916.98
7.2.10.0070.00317.07
7.2.00.0100.00618.34
7.1.330.0070.00815.82
7.1.320.0040.01015.82
7.1.310.0090.00715.95
7.1.300.0070.00615.84
7.1.290.0100.00315.70
7.1.280.0040.00815.76
7.1.270.0020.01015.82
7.1.260.0050.00715.86
7.1.250.0000.00815.96
7.1.200.0190.00415.86
7.1.100.0030.00618.42
7.1.70.0000.00717.23
7.1.60.0140.01019.32
7.1.50.0060.01616.70
7.1.00.0000.03722.30
7.0.200.0220.00014.63
7.0.140.0070.06721.98
7.0.90.0270.06019.96
7.0.80.0130.07319.89
7.0.70.0470.08019.85
7.0.60.0100.07319.96
7.0.50.0100.07720.34
7.0.40.0030.04320.00
7.0.30.0030.04020.14
7.0.20.0130.07320.00
7.0.10.0100.05719.99
7.0.00.0070.05020.07
5.6.280.0100.06721.01
5.6.240.0030.04320.63
5.6.230.0030.04020.58
5.6.220.0100.08320.61
5.6.210.0000.08320.62
5.6.200.0070.04721.01
5.6.190.0130.04021.03
5.6.180.0000.05021.16
5.6.170.0100.08021.16
5.6.160.0070.08720.93
5.6.150.0130.06721.10
5.6.140.0070.08320.95
5.6.130.0070.08321.03
5.6.120.0200.07721.01
5.6.110.0070.07721.00
5.6.100.0030.05021.08
5.6.90.0130.08020.98
5.6.80.0000.08320.43
5.6.70.0030.04020.40
5.6.60.0100.08020.38
5.6.50.0030.07320.41
5.6.40.0200.05320.43
5.6.30.0070.08320.43
5.6.20.0100.07320.48
5.6.10.0100.05020.29
5.6.00.0070.07720.35
5.5.380.0170.05320.32
5.5.370.0030.04020.37
5.5.360.0100.05020.43
5.5.350.0070.07720.43
5.5.340.0070.08720.85
5.5.330.0030.06320.91
5.5.320.0030.08720.70
5.5.310.0100.05020.72
5.5.300.0030.04020.63
5.5.290.0000.04320.77
5.5.280.0170.04320.85
5.5.270.0030.04720.89
5.5.260.0100.04720.91
5.5.250.0070.08020.58
5.5.240.0100.05020.11
5.5.230.0170.07020.29
5.5.220.0030.05720.05
5.5.210.0070.04320.11
5.5.200.0100.07719.98
5.5.190.0070.08320.17
5.5.180.0100.09720.07
5.5.160.0100.04320.23
5.5.150.0100.04320.11
5.5.140.0130.07720.11
5.5.130.0070.04320.26
5.5.120.0070.07720.13
5.5.110.0100.07720.16
5.5.100.0000.04720.15
5.5.90.0000.08720.16
5.5.80.0070.08019.96
5.5.70.0070.05320.01
5.5.60.0130.07720.04
5.5.50.0070.08020.14
5.5.40.0100.07320.03
5.5.30.0100.07719.92
5.5.20.0100.07020.08
5.5.10.0070.08720.02
5.5.00.0100.05720.06
5.4.450.0100.08019.11
5.4.440.0100.07719.29
5.4.430.0130.05019.45
5.4.420.0130.07719.22
5.4.410.0170.06319.24
5.4.400.0100.05319.07
5.4.390.0030.07018.78
5.4.380.0070.04019.04
5.4.370.0100.07018.98
5.4.360.0130.07318.96
5.4.350.0070.04318.95
5.4.340.0070.08019.10
5.4.320.0070.06719.05
5.4.310.0030.07318.96
5.4.300.0000.04719.14
5.4.290.0100.07719.25
5.4.280.0130.03718.78
5.4.270.0030.04718.78
5.4.260.0030.07018.89
5.4.250.0130.04019.12
5.4.240.0070.09018.80
5.4.230.0030.07318.93
5.4.220.0130.06719.09
5.4.210.0130.06719.03
5.4.200.0070.04319.03
5.4.190.0130.06318.79
5.4.180.0170.03319.01
5.4.170.0030.04719.21
5.4.160.0000.05318.88
5.4.150.0070.04019.07
5.4.140.0070.03316.42
5.4.130.0030.04716.11
5.4.120.0070.06716.43
5.4.110.0030.08016.31
5.4.100.0100.05716.48
5.4.90.0070.04316.41
5.4.80.0070.07316.47
5.4.70.0000.06716.46
5.4.60.0070.06716.18
5.4.50.0100.07016.28
5.4.40.0070.07016.43
5.4.30.0130.06316.34
5.4.20.0030.07316.41
5.4.10.0100.08316.18
5.4.00.0000.08015.83
5.3.290.0030.05714.62
5.3.280.0130.04714.43
5.3.270.0070.07714.57
5.3.260.0070.07014.59
5.3.250.0030.07314.58
5.3.240.0070.03714.55
5.3.230.0100.07714.45
5.3.220.0100.07014.55
5.3.210.0000.06314.55
5.3.200.0070.08314.43
5.3.190.0070.07714.42
5.3.180.0130.05314.42
5.3.170.0070.07714.56
5.3.160.0000.04014.41
5.3.150.0100.03714.54
5.3.140.0130.07314.51
5.3.130.0130.06714.49
5.3.120.0100.05314.40
5.3.110.0100.04014.55
5.3.100.0030.05314.03
5.3.90.0000.08313.97
5.3.80.0100.03713.97
5.3.70.0130.07314.00
5.3.60.0070.06713.97
5.3.50.0130.07013.94
5.3.40.0100.07013.93
5.3.30.0030.06313.89
5.3.20.0030.05713.65
5.3.10.0030.07013.50
5.3.00.0000.04313.54
5.2.170.0000.04310.96
5.2.160.0000.03711.19
5.2.150.0070.04011.16
5.2.140.0070.05711.13
5.2.130.0070.05311.15
5.2.120.0070.07311.04
5.2.110.0030.03710.93
5.2.100.0000.03311.16
5.2.90.0000.03011.12
5.2.80.0030.06711.08
5.2.70.0000.04711.05
5.2.60.0000.03310.88
5.2.50.0030.03010.83
5.2.40.0030.03010.79
5.2.30.0070.03010.93
5.2.20.0030.02711.00
5.2.10.0070.03310.90
5.2.00.0030.02710.77
5.1.60.0030.02710.24
5.1.50.0000.03010.24
5.1.40.0000.03010.24
5.1.30.0000.03010.38
5.1.20.0000.02710.24
5.1.10.0000.02710.24
5.1.00.0100.01710.24
5.0.50.0030.01310.24
5.0.40.0000.02010.24
5.0.30.0030.02710.24
5.0.20.0000.01710.24
5.0.10.0030.04010.24
5.0.00.0000.04010.24
4.4.90.0030.04310.24
4.4.80.0030.01310.24
4.4.70.0000.01710.24
4.4.60.0000.01710.24
4.4.50.0030.01310.24
4.4.40.0000.02710.24
4.4.30.0030.01310.24
4.4.20.0000.01710.24
4.4.10.0030.01310.24
4.4.00.0100.01710.24
4.3.110.0000.01710.24
4.3.100.0030.01310.24
4.3.90.0000.04310.24
4.3.80.0000.04310.24
4.3.70.0000.03710.24
4.3.60.0070.02010.24
4.3.50.0000.01710.24
4.3.40.0000.05010.24
4.3.30.0030.01310.24
4.3.20.0000.01310.24
4.3.10.0000.03710.24
4.3.00.0030.01310.24

preferences:
57.83 ms | 401 KiB | 5 Q