3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date(DATE_RFC2822, strtotime('first day of last month midnight')) . "\n"; echo date(DATE_RFC2822, strtotime('first day of this month midnight')) . "\n"; echo date(DATE_RFC2822, strtotime('last day of this month midnight')) . "\n";

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.60.0170.00018.56
8.3.50.0120.00318.43
8.3.40.0110.00718.85
8.3.30.0070.00718.79
8.3.20.0080.00020.20
8.3.10.0080.00021.82
8.3.00.0090.00020.93
8.2.180.0100.00716.63
8.2.170.0110.00422.96
8.2.160.0030.01019.34
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00022.43
8.2.120.0000.00726.35
8.2.110.0030.00722.39
8.2.100.0060.00617.77
8.2.90.0050.00319.34
8.2.80.0060.00317.97
8.2.70.0060.00317.75
8.2.60.0050.00317.80
8.2.50.0080.00018.10
8.2.40.0050.00220.64
8.2.30.0040.00419.36
8.2.20.0000.00717.73
8.2.10.0000.00717.98
8.2.00.0000.00718.13
8.1.280.0040.01425.92
8.1.270.0000.00824.10
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0000.00923.89
8.1.230.0090.00324.03
8.1.220.0080.00017.74
8.1.210.0090.00018.77
8.1.200.0000.01017.24
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0000.00818.91
8.1.160.0000.00719.07
8.1.150.0000.00718.85
8.1.140.0040.00419.67
8.1.130.0030.00317.79
8.1.120.0030.00517.67
8.1.110.0040.00417.66
8.1.100.0000.00717.63
8.1.90.0000.01017.65
8.1.80.0000.00717.64
8.1.70.0000.00717.66
8.1.60.0050.00217.75
8.1.50.0030.00617.63
8.1.40.0040.00417.52
8.1.30.0000.01017.67
8.1.20.0040.00417.61
8.1.10.0000.00717.56
8.1.00.0040.00417.69
8.0.300.0000.00718.77
8.0.290.0020.00516.75
8.0.280.0000.00818.51
8.0.270.0000.00817.31
8.0.260.0030.00617.32
8.0.250.0030.00317.12
8.0.240.0000.00617.12
8.0.230.0070.00017.13
8.0.220.0040.00417.07
8.0.210.0030.00517.08
8.0.200.0080.00017.09
8.0.190.0000.00717.04
8.0.180.0000.00817.16
8.0.170.0020.00517.13
8.0.160.0040.00417.07
8.0.150.0050.00516.95
8.0.140.0030.00717.00
8.0.130.0000.00513.39
8.0.120.0040.00416.98
8.0.110.0040.00416.90
8.0.100.0030.00517.02
8.0.90.0040.00417.07
8.0.80.0070.01116.98
8.0.70.0000.00916.97
8.0.60.0000.00717.06
8.0.50.0000.00817.06
8.0.30.0100.00817.16
8.0.20.0120.00617.40
8.0.10.0070.00017.13
8.0.00.0000.01716.93
7.4.330.0020.00216.82
7.4.320.0030.00316.59
7.4.300.0000.00616.53
7.4.290.0000.00716.52
7.4.280.0000.00816.56
7.4.270.0000.00716.56
7.4.260.0070.00316.54
7.4.250.0040.00416.48
7.4.240.0070.00016.58
7.4.230.0070.00016.50
7.4.220.0160.01016.61
7.4.210.0140.00016.52
7.4.200.0040.00416.61
7.4.160.0100.00616.52
7.4.150.0080.00817.40
7.4.140.0100.00717.86
7.4.130.0100.01016.55
7.4.120.0100.00816.55
7.4.110.0070.01016.82
7.4.100.0170.00016.88
7.4.90.0090.00916.77
7.4.80.0130.01119.39
7.4.70.0080.00816.60
7.4.60.0040.01416.77
7.4.50.0070.01016.83
7.4.40.0120.00316.46
7.4.30.0120.00316.63
7.4.00.0030.01014.97
7.3.330.0030.00313.13
7.3.320.0050.00013.21
7.3.310.0040.00416.46
7.3.300.0030.00316.25
7.3.290.0090.00616.38
7.3.280.0070.00816.42
7.3.270.0080.01017.40
7.3.260.0090.00916.64
7.3.250.0120.00916.63
7.3.240.0130.00816.50
7.3.230.0070.01616.45
7.3.210.0130.00316.65
7.3.200.0030.01416.44
7.3.190.0140.00316.52
7.3.180.0050.01016.39
7.3.170.0080.00816.49
7.3.160.0030.01316.39
7.3.120.0090.00715.27
7.3.110.0070.00714.94
7.3.100.0060.01014.96
7.3.90.0070.00715.07
7.3.80.0080.00814.96
7.3.70.0040.00814.84
7.3.60.0050.00914.74
7.3.50.0080.00314.75
7.3.40.0030.01314.63
7.3.30.0100.00714.95
7.3.20.0100.00716.83
7.3.10.0060.00616.78
7.3.00.0000.01216.91
7.2.330.0060.01316.53
7.2.320.0090.00616.82
7.2.310.0090.00916.67
7.2.300.0140.00316.65
7.2.290.0110.01216.87
7.2.240.0090.00914.79
7.2.230.0030.01415.46
7.2.220.0070.00615.10
7.2.210.0090.00615.34
7.2.200.0030.01315.24
7.2.190.0030.01015.08
7.2.180.0000.01615.24
7.2.170.0030.01015.07
7.2.160.0030.01315.11
7.2.150.0030.00617.03
7.2.140.0110.00716.95
7.2.130.0120.00617.13
7.2.120.0030.01017.02
7.2.110.0060.00917.00
7.2.100.0060.00916.85
7.2.90.0110.00417.24
7.2.80.0100.00017.07
7.2.70.0090.00617.10
7.2.60.0030.00816.95
7.2.50.0100.00316.88
7.2.40.0080.00817.11
7.2.30.0070.01117.21
7.2.20.0100.00616.99
7.2.10.0090.01017.13
7.2.00.0020.01318.18
7.1.330.0040.01216.05
7.1.320.0070.00716.04
7.1.310.0060.00615.68
7.1.300.0100.00316.07
7.1.290.0130.00315.76
7.1.280.0030.00915.91
7.1.270.0090.00615.57
7.1.260.0090.00615.73
7.1.250.0040.00815.96
7.1.200.0000.00915.60
7.1.100.0030.01018.18
7.1.70.0000.00817.40
7.1.60.0060.01819.90
7.1.00.0070.07322.28
7.0.200.0210.00314.93
7.0.100.0170.04319.96
7.0.90.0100.05719.93
7.0.80.0430.04719.89
7.0.70.0100.04019.93
7.0.60.0170.04021.73
7.0.50.0000.09020.29
7.0.40.0070.05320.05
7.0.30.0030.08020.08
7.0.20.0030.09720.13
7.0.10.0130.06320.04
7.0.00.0030.04320.03
5.6.280.0130.06321.10
5.6.250.0070.04320.68
5.6.240.0100.07720.67
5.6.230.0070.08720.62
5.6.220.0170.07020.57
5.6.210.0030.05320.74
5.6.200.0000.04720.95
5.6.190.0100.04320.93
5.6.180.0100.04321.04
5.6.170.0000.06020.93
5.6.160.0070.08721.09
5.6.150.0130.07321.01
5.6.140.0130.08021.00
5.6.130.0100.07720.94
5.6.120.0000.07021.06
5.6.110.0100.07721.02
5.6.100.0030.08320.95
5.6.90.0070.08721.00
5.6.80.0130.05020.43
5.6.70.0070.07720.38
5.6.60.0100.08020.35
5.6.50.0030.05320.48
5.6.40.0130.04320.48
5.6.30.0100.08020.29
5.6.20.0000.05320.28
5.6.10.0100.07020.35
5.6.00.0200.07020.29
5.5.380.0070.04320.35
5.5.370.0070.05320.43
5.5.360.0100.03720.35
5.5.350.0030.09020.46
5.5.340.0000.04720.78
5.5.330.0100.06720.87
5.5.320.0100.07720.86
5.5.310.0170.03720.88
5.5.300.0130.07720.80
5.5.290.0030.08320.76
5.5.280.0070.08720.92
5.5.270.0070.06720.76
5.5.260.0070.08320.90
5.5.250.0100.06320.73
5.5.240.0070.08020.24
5.5.230.0130.07720.25
5.5.220.0130.07320.27
5.5.210.0030.08720.25
5.5.200.0070.04719.98
5.5.190.0200.05720.22
5.5.180.0030.05020.10
5.5.160.0100.05320.24
5.5.150.0030.06720.22
5.5.140.0170.06720.25
5.5.130.0030.05020.14
5.5.120.0100.07320.26
5.5.110.0130.04720.11
5.5.100.0070.06720.06
5.5.90.0000.04720.15
5.5.80.0100.03720.11
5.5.70.0070.07320.15
5.5.60.0030.06019.93
5.5.50.0030.04020.05
5.5.40.0070.04020.02
5.5.30.0070.06319.94
5.5.20.0000.08720.04
5.5.10.0070.05020.03
5.5.00.0100.06320.00

preferences:
78.29 ms | 401 KiB | 5 Q