3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( 'last day of this month', 'Last day of this month', 'lAst Day of This Month'); foreach ($input as $str) { var_dump(date('Y-m-d', strtotime($str))); }

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.4.10.0070.01017.93
8.3.140.0080.00017.32
8.3.130.0080.00318.49
8.3.120.0110.00018.55
8.3.110.0060.00320.94
8.3.100.0080.00818.60
8.3.90.0110.00326.77
8.3.80.0080.00316.49
8.3.70.0070.01016.63
8.3.60.0110.00416.88
8.3.50.0050.01222.19
8.3.40.0110.00718.84
8.3.30.0140.00018.95
8.3.20.0080.00020.00
8.3.10.0090.00023.61
8.3.00.0090.00019.25
8.2.250.0110.00716.84
8.2.240.0120.00618.75
8.2.230.0050.00322.58
8.2.220.0060.00324.06
8.2.210.0070.00326.77
8.2.200.0060.00318.41
8.2.190.0000.01516.58
8.2.180.0140.00325.92
8.2.170.0070.00719.06
8.2.160.0090.00622.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00422.34
8.2.110.0050.00520.96
8.2.100.0070.00418.03
8.2.90.0090.00017.75
8.2.80.0080.00018.86
8.2.70.0000.00817.75
8.2.60.0050.00517.88
8.2.50.0000.00817.75
8.2.40.0040.00419.47
8.2.30.0080.00018.17
8.2.20.0040.00417.92
8.2.10.0000.00718.05
8.2.00.0000.00917.95
8.1.300.0080.00019.71
8.1.290.0080.00430.84
8.1.280.0170.00325.92
8.1.270.0060.00322.19
8.1.260.0170.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.20
8.1.230.0040.00821.04
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0030.00717.60
8.1.190.0060.00317.61
8.1.180.0040.00418.10
8.1.170.0000.00818.66
8.1.160.0040.00421.98
8.1.150.0000.00818.95
8.1.140.0040.00417.66
8.1.130.0030.00317.63
8.1.120.0040.00417.60
8.1.110.0030.00817.63
8.1.100.0030.00617.60
8.1.90.0000.00717.60
8.1.80.0030.00317.69
8.1.70.0040.00417.63
8.1.60.0040.00717.77
8.1.50.0000.00817.63
8.1.40.0070.00017.65
8.1.30.0040.00417.70
8.1.20.0040.00417.71
8.1.10.0040.00417.69
8.1.00.0070.00017.52
8.0.300.0070.00020.07
8.0.290.0080.00017.00
8.0.280.0030.00318.51
8.0.270.0040.00417.45
8.0.260.0040.00417.07
8.0.250.0030.00317.18
8.0.240.0000.00717.21
8.0.230.0000.00817.23
8.0.220.0080.00017.16
8.0.210.0000.00717.07
8.0.200.0030.00317.04
8.0.190.0030.00517.21
8.0.180.0070.00017.18
8.0.170.0080.00017.17
8.0.160.0040.00417.04
8.0.150.0000.00817.11
8.0.140.0030.00316.99
8.0.130.0030.00313.51
8.0.120.0000.00816.98
8.0.110.0000.00817.13
8.0.100.0040.00416.98
8.0.90.0000.00817.05
8.0.80.0060.01317.20
8.0.70.0000.00717.03
8.0.60.0000.00717.18
8.0.50.0040.00417.13
8.0.30.0100.00817.31
8.0.20.0090.00917.49
8.0.10.0080.00017.19
8.0.00.0100.00817.01
7.4.330.0020.00215.27
7.4.320.0060.00016.78
7.4.300.0030.00316.64
7.4.290.0080.00016.77
7.4.280.0050.00216.57
7.4.270.0040.00416.78
7.4.260.0050.00316.60
7.4.250.0080.00016.76
7.4.240.0040.00416.68
7.4.230.0040.00216.85
7.4.220.0120.00916.82
7.4.210.0040.01116.65
7.4.200.0030.00316.59
7.4.190.0000.00716.64
7.4.160.0120.00816.86
7.4.150.0140.00317.40
7.4.140.0080.01017.86
7.4.130.0050.01316.68
7.4.120.0120.00716.71
7.4.110.0140.00316.63
7.4.100.0060.01316.75
7.4.90.0100.01316.77
7.4.80.0030.01419.39
7.4.70.0130.00716.61
7.4.60.0130.00616.72
7.4.50.0060.00616.71
7.4.40.0090.00519.68
7.4.30.0080.00816.71
7.4.20.0090.00616.92
7.4.10.0060.00916.49
7.4.00.0090.00915.89
7.3.330.0030.00313.23
7.3.320.0000.00713.18
7.3.310.0070.00016.32
7.3.300.0030.00316.30
7.3.290.0080.00616.50
7.3.280.0060.01016.44
7.3.270.0090.00917.40
7.3.260.0090.01216.66
7.3.250.0050.01416.54
7.3.240.0100.01016.46
7.3.230.0030.01316.53
7.3.210.0090.00916.68
7.3.200.0110.01219.39
7.3.190.0160.00616.58
7.3.180.0050.01016.72
7.3.170.0070.00716.64
7.3.160.0080.00716.85
7.3.150.0030.01216.61
7.3.140.0110.00416.61
7.3.130.0040.01116.62
7.3.120.0110.00515.68
7.3.110.0060.00915.88
7.3.100.0070.00915.75
7.3.90.0050.01215.76
7.3.80.0050.00915.88
7.3.70.0060.01115.54
7.3.60.0030.01515.67
7.3.50.0080.00815.82
7.3.40.0060.01015.59
7.3.30.0090.00615.80
7.3.20.0060.01116.79
7.3.10.0080.01016.44
7.3.00.0080.01016.76
7.2.330.0120.01216.88
7.2.320.0060.01316.56
7.2.310.0030.01316.86
7.2.300.0030.01316.86
7.2.290.0110.00416.50
7.2.280.0090.00616.79
7.2.270.0120.00616.86
7.2.260.0090.01216.73
7.2.250.0120.00416.81
7.2.240.0080.00616.10
7.2.230.0140.00315.92
7.2.220.0060.01116.16
7.2.210.0100.00815.94
7.2.200.0120.00615.96
7.2.190.0080.00815.99
7.2.180.0070.01015.84
7.2.170.0080.01015.97
7.2.160.0020.01415.93
7.2.150.0110.00516.87
7.2.140.0080.01216.91
7.2.130.0090.01116.82
7.2.120.0100.01216.70
7.2.110.0110.00916.95
7.2.100.0170.00616.81
7.2.90.0160.00616.86
7.2.80.0150.00616.76
7.2.70.0130.01116.77
7.2.60.0130.00816.90
7.2.50.0140.01016.83
7.2.40.0130.00816.90
7.2.30.0080.01016.75
7.2.20.0110.01016.78
7.2.10.0100.01016.86
7.2.00.0100.01117.51
7.1.330.0090.00515.90
7.1.320.0040.01215.81
7.1.310.0080.00915.88
7.1.300.0260.00315.82
7.1.290.0120.00715.88
7.1.280.0070.01315.78
7.1.270.0110.00915.91
7.1.260.0120.01115.61
7.1.250.0130.00815.71
7.1.240.0150.01315.79
7.1.230.0150.01115.78
7.1.220.0230.00615.79
7.1.210.0180.00415.73
7.1.200.0100.00415.88
7.1.190.0130.00915.92
7.1.180.0120.00915.66
7.1.170.0210.00715.57
7.1.160.0080.01215.58
7.1.150.0110.01115.63
7.1.140.0100.00615.73
7.1.130.0130.00315.76
7.1.120.0100.00815.77
7.1.110.0130.00315.76
7.1.100.0030.01117.08
7.1.90.0060.01015.69
7.1.80.0080.00715.83
7.1.70.0100.00816.45
7.1.60.0100.01217.54
7.1.50.0130.00416.36
7.1.40.0200.00815.63
7.1.30.0170.00815.58
7.1.20.0210.00315.81
7.1.10.0160.00815.55
7.1.00.0090.04218.99
7.0.330.0180.00915.36
7.0.320.0150.01015.31
7.0.310.0000.01515.39
7.0.300.0120.00915.38
7.0.290.0080.00815.38
7.0.280.0150.01515.34
7.0.270.0090.01115.29
7.0.260.0120.00315.43
7.0.250.0100.00515.30
7.0.240.0080.00815.47
7.0.230.0060.00815.48
7.0.220.0190.00015.44
7.0.210.0160.00515.33
7.0.200.0350.00514.92
7.0.190.0480.01015.34
7.0.180.0220.00015.23
7.0.170.0130.00615.50
7.0.160.0240.00415.35
7.0.150.0170.00415.48
7.0.140.0130.03618.59
7.0.130.0100.01115.43
7.0.120.0160.00415.27
7.0.110.0140.00615.29
7.0.100.0310.04617.52
7.0.90.0310.04317.68
7.0.80.0300.02817.61
7.0.70.0360.03817.74
7.0.60.0290.04517.63
7.0.50.0350.04517.76
7.0.40.0140.02217.70
7.0.30.0150.04317.78
7.0.20.0220.03917.68
7.0.10.0290.03917.76
7.0.00.0160.05717.70
5.6.400.0140.01415.96
5.6.390.0160.01116.15
5.6.380.0220.00616.36
5.6.370.0130.00616.07
5.6.360.0150.00316.09
5.6.350.0080.00815.95
5.6.340.0100.00716.06
5.6.330.0090.01216.09
5.6.320.0000.01815.81
5.6.310.0120.00916.05
5.6.300.0150.01115.88
5.6.290.0190.00315.82
5.6.280.0100.04018.34
5.6.270.0120.01215.68
5.6.260.0100.01415.82
5.6.250.0080.04018.25
5.6.240.0170.01918.28
5.6.230.0110.04918.32
5.6.220.0130.04518.29
5.6.210.0150.03918.32
5.6.200.0120.05018.46
5.6.190.0130.04418.45
5.6.180.0210.03918.47
5.6.170.0170.04518.58
5.6.160.0090.04118.56
5.6.150.0090.04918.54
5.6.140.0150.04418.49
5.6.130.0110.03018.58
5.6.120.0170.02518.51
5.6.110.0050.05718.44
5.6.100.0170.04418.49
5.6.90.0140.02418.49
5.6.80.0120.04418.25
5.6.70.0160.04318.19
5.6.60.0180.03818.25
5.6.50.0140.04318.07
5.6.40.0110.04718.20
5.6.30.0160.03818.19
5.6.20.0240.03518.13
5.6.10.0140.02018.14
5.6.00.0110.02318.04
5.5.380.0130.04718.18
5.5.370.0170.04218.20
5.5.360.0090.04518.16
5.5.350.0100.04918.30
5.5.340.0180.04218.32
5.5.330.0150.04318.45
5.5.320.0070.05518.32
5.5.310.0180.03118.33
5.5.300.0210.04018.37
5.5.290.0120.04218.22
5.5.280.0070.04818.46
5.5.270.0140.02618.34
5.5.260.0160.04218.30
5.5.250.0130.04318.23
5.5.240.0050.04618.00
5.5.230.0080.04117.98
5.5.220.0170.03818.08
5.5.210.0160.03918.09
5.5.200.0130.04217.94
5.5.190.0110.03118.07
5.5.180.0160.03918.00
5.5.170.0130.01615.78
5.5.160.0110.04117.91
5.5.150.0090.04618.00
5.5.140.0090.04018.06
5.5.130.0110.04317.90
5.5.120.0160.04118.14
5.5.110.0190.03317.96
5.5.100.0140.04618.06
5.5.90.0130.03718.00
5.5.80.0120.04418.01
5.5.70.0120.03917.90
5.5.60.0140.04017.98
5.5.50.0100.04518.00
5.5.40.0080.04618.13
5.5.30.0130.04317.96
5.5.20.0110.04317.85
5.5.10.0150.04017.87
5.5.00.0200.03617.96
5.4.450.0110.04015.98
5.4.440.0140.04315.97
5.4.430.0070.02716.02
5.4.420.0090.03716.12
5.4.410.0160.01816.02
5.4.400.0070.04715.78
5.4.390.0140.03916.02
5.4.380.0120.04015.95
5.4.370.0090.03615.77
5.4.360.0110.04415.93
5.4.350.0170.03315.94
5.4.340.0140.04015.85
5.4.330.0200.00612.66
5.4.320.0100.02315.71
5.4.310.0110.02415.80
5.4.300.0130.04115.69
5.4.290.0140.02315.78
5.4.280.0120.03815.73
5.4.270.0170.03515.80
5.4.260.0100.04215.79
5.4.250.0110.03815.85
5.4.240.0100.03815.97
5.4.230.0100.04215.78
5.4.220.0150.03615.78
5.4.210.0080.04215.74
5.4.200.0080.04515.86
5.4.190.0150.03515.91
5.4.180.0100.04615.72
5.4.170.0090.03415.89
5.4.160.0100.04315.67
5.4.150.0080.04415.78
5.4.140.0090.03914.56
5.4.130.0100.03914.53
5.4.120.0100.02614.52
5.4.110.0070.04014.62
5.4.100.0090.04014.54
5.4.90.0080.03714.58
5.4.80.0080.04214.56
5.4.70.0150.03314.47
5.4.60.0050.02814.54
5.4.50.0120.03214.39
5.4.40.0090.02714.46
5.4.30.0100.02214.50
5.4.20.0150.02814.44
5.4.10.0120.01814.55
5.4.00.0030.02814.12
5.3.290.0040.03113.97
5.3.280.0150.03713.85
5.3.270.0150.03813.87
5.3.260.0120.03513.91
5.3.250.0090.04113.95
5.3.240.0090.02613.86
5.3.230.0120.04213.88
5.3.220.0070.04413.75
5.3.210.0100.04313.74
5.3.200.0080.04213.73
5.3.190.0120.03813.78
5.3.180.0070.04413.92
5.3.170.0090.03613.81
5.3.160.0100.02413.91
5.3.150.0100.03713.87
5.3.140.0090.02513.87
5.3.130.0070.02913.78
5.3.120.0100.03613.71
5.3.110.0100.02913.83
5.3.100.0110.02113.53
5.3.90.0080.02613.53
5.3.80.0090.02613.52
5.3.70.0120.01813.55
5.3.60.0120.02013.58
5.3.50.0100.02313.56
5.3.40.0110.02013.50
5.3.30.0120.01813.56
5.3.20.0060.02313.40
5.3.10.0070.02413.27
5.3.00.0070.02913.18

preferences:
76.68 ms | 403 KiB | 5 Q