3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d H:i:s', strtotime('this Monday midnight', strtotime('2014-07-14T17:00:00'))); echo date('Y-m-d H:i:s', strtotime('this Monday midnight', strtotime('2014-07-15T17:00:00'))); echo date('Y-m-d H:i:s', strtotime('next Monday midnight', strtotime('2014-07-14T17:00:00'))); echo date('Y-m-d H:i:s', strtotime('next Monday midnight', strtotime('2014-07-15T17:00:00'))); echo date('Y-m-d H:i:s', strtotime('next Monday midnight'));

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.3.40.0070.00719.02
8.3.30.0100.00319.27
8.3.20.0030.00620.35
8.3.10.0040.00423.64
8.3.00.0040.00420.88
8.2.170.0090.00622.96
8.2.160.0100.00320.38
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0060.00319.25
8.2.110.0000.00920.41
8.2.100.0110.00017.84
8.2.90.0080.00019.34
8.2.80.0040.00417.97
8.2.70.0060.00317.88
8.2.60.0000.00818.05
8.2.50.0090.00018.07
8.2.40.0050.00319.83
8.2.30.0000.00818.18
8.2.20.0040.00417.74
8.2.10.0070.00017.95
8.2.00.0050.00319.58
8.1.270.0110.00723.83
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.95
8.1.230.0110.00022.11
8.1.220.0000.00917.74
8.1.210.0050.00318.77
8.1.200.0060.00317.47
8.1.190.0080.00017.48
8.1.180.0050.00318.10
8.1.170.0080.00318.77
8.1.160.0000.00721.88
8.1.150.0040.00418.75
8.1.140.0040.00417.57
8.1.130.0000.00717.75
8.1.120.0040.00417.52
8.1.110.0040.00417.48
8.1.100.0080.00017.50
8.1.90.0070.00017.50
8.1.80.0050.00317.62
8.1.70.0030.00717.55
8.1.60.0000.00717.57
8.1.50.0000.00817.54
8.1.40.0050.00317.63
8.1.30.0040.00417.66
8.1.20.0060.00317.67
8.1.10.0080.00017.52
8.1.00.0110.00017.55
8.0.300.0030.00518.77
8.0.290.0000.00717.00
8.0.280.0030.00318.45
8.0.270.0070.00017.38
8.0.260.0030.00317.24
8.0.250.0030.00317.16
8.0.240.0080.00017.14
8.0.230.0030.00317.00
8.0.220.0030.00317.04
8.0.210.0000.00717.00
8.0.200.0030.00316.95
8.0.190.0090.00017.09
8.0.180.0050.00317.05
8.0.170.0030.00517.03
8.0.160.0050.00217.10
8.0.150.0040.00417.01
8.0.140.0050.00316.88
8.0.130.0060.00013.41
8.0.120.0050.00216.89
8.0.110.0000.00717.04
8.0.100.0000.00816.89
8.0.90.0000.00717.06
8.0.80.0060.00917.05
8.0.70.0020.00516.99
8.0.60.0000.00716.82
8.0.50.0000.00716.91
8.0.30.0110.00817.23
8.0.20.0130.00617.44
8.0.10.0050.00317.00
8.0.00.0060.01417.09
7.4.330.0020.00215.05
7.4.320.0030.00316.67
7.4.300.0030.00316.67
7.4.290.0000.00716.64
7.4.280.0000.00716.65
7.4.270.0000.00716.50
7.4.260.0000.00916.61
7.4.250.0050.00216.65
7.4.240.0040.00416.59
7.4.230.0030.00316.74
7.4.220.0110.00616.68
7.4.210.0060.01016.60
7.4.200.0040.00316.41
7.4.160.0060.01116.47
7.4.150.0120.01217.40
7.4.140.0090.00917.86
7.4.130.0060.01116.49
7.4.120.0110.00916.50
7.4.110.0180.00416.61
7.4.100.0060.01116.50
7.4.90.0030.01316.65
7.4.80.0100.00719.39
7.4.70.0110.00716.62
7.4.60.0100.00716.57
7.4.50.0030.00616.49
7.4.40.0060.01316.51
7.4.30.0030.01216.60
7.4.00.0090.00615.20
7.3.330.0000.00513.20
7.3.320.0000.00613.05
7.3.310.0000.00816.35
7.3.300.0030.00316.36
7.3.290.0070.00716.32
7.3.280.0100.00716.29
7.3.270.0170.00017.40
7.3.260.0130.01216.55
7.3.250.0120.00716.59
7.3.240.0140.00316.48
7.3.230.0100.00616.48
7.3.210.0070.01016.25
7.3.200.0100.01319.39
7.3.190.0110.00716.77
7.3.180.0070.01116.66
7.3.170.0120.00316.73
7.3.160.0070.01116.27
7.3.120.0000.01514.82
7.2.330.0100.00716.48
7.2.320.0030.01316.83
7.2.310.0050.01016.52
7.2.300.0080.00816.45
7.2.290.0090.01116.83
7.2.00.0090.00919.49
7.1.100.0170.00917.87
7.1.70.0040.00417.34
7.1.60.0100.01419.70
7.1.50.0080.01517.17
7.1.00.0070.07022.39
7.0.200.0070.00016.84
7.0.140.0070.07322.09
7.0.100.0070.04019.96
7.0.90.0300.08719.95
7.0.80.0030.05019.93
7.0.70.0130.06019.82
7.0.60.0100.08019.95
7.0.50.0170.07320.24
7.0.40.0130.08320.17
7.0.30.0130.07320.09
7.0.20.0030.06020.16
7.0.10.0130.08320.17
7.0.00.0030.05320.04
5.6.280.0030.07321.00
5.6.250.0100.08020.78
5.6.240.0130.08020.69
5.6.230.0100.08320.59
5.6.220.0170.07320.67
5.6.210.0070.08020.64
5.6.200.0070.08720.98
5.6.190.0100.04020.95
5.6.180.0100.08021.03
5.6.170.0070.04720.93
5.6.160.0070.07721.14
5.6.150.0130.07321.06
5.6.140.0100.07721.01
5.6.130.0100.07320.93
5.6.120.0030.04721.00
5.6.110.0070.04021.00
5.6.100.0070.04021.12
5.6.90.0030.04021.15
5.6.80.0030.04020.46
5.6.70.0070.03720.39
5.6.60.0030.04020.54
5.6.50.0030.04020.46
5.6.40.0070.03320.38
5.6.30.0000.04020.31
5.6.20.0070.03020.43
5.6.10.0030.04320.52
5.6.00.0100.04020.34
5.5.380.0070.06320.48
5.5.370.0170.07020.56
5.5.360.0030.08720.48
5.5.350.0130.07320.42
5.5.340.0130.07720.88
5.5.330.0030.04320.80
5.5.320.0170.06020.83
5.5.310.0000.06720.87
5.5.300.0130.04320.89
5.5.290.0030.06720.86
5.5.280.0030.04320.72
5.5.270.0030.05320.61
5.5.260.0100.04320.82
5.5.250.0030.04320.69
5.5.240.0070.03720.11
5.5.230.0030.04020.23
5.5.220.0070.03720.13
5.5.210.0030.04320.30
5.5.200.0070.03720.11
5.5.190.0030.04320.13
5.5.180.0000.04020.07
5.5.160.0070.03320.25
5.5.150.0070.03720.13
5.5.140.0100.02720.21
5.5.130.0100.03320.20
5.5.120.0030.03720.21
5.5.110.0100.03720.13
5.5.100.0070.04020.09
5.5.90.0030.04020.08
5.5.80.0070.03720.14
5.5.70.0030.03320.09
5.5.60.0070.03320.08
5.5.50.0030.03720.09
5.5.40.0030.03720.04
5.5.30.0070.03319.99
5.5.20.0070.03320.14
5.5.10.0030.03320.10
5.5.00.0070.03320.05
5.4.450.0030.08019.39
5.4.440.0070.04019.36
5.4.430.0070.04319.13
5.4.420.0000.04319.36
5.4.410.0070.03319.25
5.4.400.0030.03719.07
5.4.390.0070.03719.04
5.4.380.0030.03719.23
5.4.370.0000.04018.98
5.4.360.0000.04319.06
5.4.350.0130.02719.03
5.4.340.0000.04318.98
5.4.320.0030.04018.79
5.4.310.0030.03319.04
5.4.300.0030.04019.23
5.4.290.0070.03019.12
5.4.280.0030.04719.14
5.4.270.0000.04319.07
5.4.260.0000.03719.06
5.4.250.0070.03319.02
5.4.240.0070.03319.14
5.4.230.0000.03319.04
5.4.220.0030.03319.09
5.4.210.0030.04318.89
5.4.200.0130.02719.17
5.4.190.0100.03719.04
5.4.180.0030.03018.95
5.4.170.0070.03319.05
5.4.160.0000.04019.02
5.4.150.0000.03718.76
5.4.140.0030.03316.42
5.4.130.0070.03016.43
5.4.120.0030.03316.32
5.4.110.0000.03316.31
5.4.100.0070.03716.36
5.4.90.0030.03016.36
5.4.80.0100.07016.41
5.4.70.0070.04716.25
5.4.60.0030.05016.29
5.4.50.0070.07716.42
5.4.40.0000.05016.35
5.4.30.0130.03016.18
5.4.20.0070.05016.23
5.4.10.0100.07316.18
5.4.00.0070.07015.52
5.3.290.0030.04014.50
5.3.280.0030.03314.55
5.3.270.0070.03014.57
5.3.260.0000.03314.43
5.3.250.0030.03014.46
5.3.240.0030.03714.56
5.3.230.0000.03314.59
5.3.220.0000.04314.42
5.3.210.0000.03314.42
5.3.200.0030.04714.52
5.3.190.0000.04014.53
5.3.180.0030.03314.39
5.3.170.0130.03714.51
5.3.160.0070.03314.41
5.3.150.0030.07314.39
5.3.140.0100.07014.56
5.3.130.0030.04314.37
5.3.120.0170.06714.54
5.3.110.0130.06714.38
5.3.100.0030.04014.02
5.3.90.0130.04713.96
5.3.80.0100.06713.96
5.3.70.0000.04014.00
5.3.60.0000.05713.98
5.3.50.0100.05013.71
5.3.40.0170.06013.89
5.3.30.0030.06713.76
5.3.20.0130.06313.68
5.3.10.0000.04713.61
5.3.00.0070.07713.57
5.2.170.0030.05711.14
5.2.160.0030.05711.10
5.2.150.0000.06311.10
5.2.140.0030.07010.98
5.2.130.0100.03711.10
5.2.120.0030.05010.96
5.2.110.0070.04310.93
5.2.100.0000.04011.04
5.2.90.0030.02710.92
5.2.80.0070.05311.15
5.2.70.0100.04310.92
5.2.60.0070.05710.88
5.2.50.0030.06010.96
5.2.40.0030.03011.04
5.2.30.0030.02710.97
5.2.20.0070.05710.88
5.2.10.0070.04710.93
5.2.00.0030.05710.77
5.1.60.0070.0479.87
5.1.50.0030.0339.82
5.1.40.0070.0509.97
5.1.30.0100.03010.25
5.1.20.0030.03010.29
5.1.10.0070.05310.11
5.1.00.0070.0379.91
5.0.50.0000.0239.13
5.0.40.0100.0409.13
5.0.30.0000.0679.13
5.0.20.0000.0309.13
5.0.10.0000.0279.13
5.0.00.0030.0579.13
4.4.90.0030.0179.13
4.4.80.0070.0239.13
4.4.70.0000.0409.13
4.4.60.0030.0309.13
4.4.50.0000.0339.13
4.4.40.0030.0339.13
4.4.30.0000.0139.13
4.4.20.0030.0379.13
4.4.10.0030.0379.13
4.4.00.0030.0309.13
4.3.110.0000.0239.13
4.3.100.0030.0209.13
4.3.90.0000.0209.13
4.3.80.0000.0279.13
4.3.70.0000.0339.13
4.3.60.0000.0379.13
4.3.50.0070.0239.13
4.3.40.0030.0309.13
4.3.30.0000.0339.13
4.3.20.0030.0239.13
4.3.10.0000.0379.13
4.3.00.0000.0339.13

preferences:
42.12 ms | 400 KiB | 5 Q