3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime('first day of next year')); //echo date('Y-m-d', strtotime('first day of next month', 1514678400));

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.0150.00316.86
8.3.50.0070.01416.61
8.3.40.0070.00718.76
8.3.30.0110.00418.79
8.3.20.0050.00220.34
8.3.10.0070.00321.84
8.3.00.0000.00722.13
8.2.180.0100.00718.29
8.2.170.0150.00022.96
8.2.160.0100.00718.95
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00421.16
8.2.120.0050.00226.35
8.2.110.0000.00822.25
8.2.100.0120.00017.87
8.2.90.0000.00819.22
8.2.80.0050.00318.05
8.2.70.0040.00417.75
8.2.60.0040.00418.05
8.2.50.0000.00818.10
8.2.40.0040.00422.30
8.2.30.0040.00420.98
8.2.20.0070.00018.18
8.2.10.0040.00418.03
8.2.00.0040.00418.09
8.1.280.0100.00725.92
8.1.270.0000.00722.18
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00320.87
8.1.230.0060.00617.79
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0030.00617.50
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0040.00418.63
8.1.160.0070.00019.08
8.1.150.0000.00820.67
8.1.140.0040.00419.49
8.1.130.0040.00418.85
8.1.120.0040.00417.53
8.1.110.0000.00817.56
8.1.100.0050.00317.46
8.1.90.0000.00717.58
8.1.80.0030.00417.60
8.1.70.0000.00717.50
8.1.60.0000.00817.63
8.1.50.0080.00017.48
8.1.40.0040.00417.47
8.1.30.0090.00417.54
8.1.20.0050.00217.72
8.1.10.0070.00017.67
8.1.00.0080.00017.54
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0070.00018.51
8.0.270.0000.00717.32
8.0.260.0000.00817.03
8.0.250.0070.00017.12
8.0.240.0030.00317.11
8.0.230.0080.00017.00
8.0.220.0040.00416.97
8.0.210.0040.00417.04
8.0.200.0060.00016.91
8.0.190.0030.00517.04
8.0.180.0080.00017.07
8.0.170.0050.00217.05
8.0.160.0040.00716.95
8.0.150.0000.00717.01
8.0.140.0000.00716.82
8.0.130.0000.00713.31
8.0.120.0000.00716.86
8.0.110.0000.00717.08
8.0.100.0070.00017.02
8.0.90.0040.00416.96
8.0.80.0070.01016.92
8.0.70.0040.00417.07
8.0.60.0050.00217.08
8.0.50.0040.00416.81
8.0.30.0070.01317.08
8.0.20.0120.00817.40
8.0.10.0030.00317.05
8.0.00.0110.00616.86
7.4.330.0000.00715.55
7.4.320.0050.00316.59
7.4.300.0070.00016.69
7.4.290.0030.00316.53
7.4.280.0000.00916.57
7.4.270.0030.00316.61
7.4.260.0050.00216.66
7.4.250.0000.00716.39
7.4.240.0040.00416.58
7.4.230.0030.00316.74
7.4.220.0100.00716.76
7.4.210.0110.00916.63
7.4.200.0040.00416.66
7.4.160.0060.01016.53
7.4.150.0030.01317.40
7.4.140.0110.01117.86
7.4.130.0070.01416.60
7.4.120.0100.00816.60
7.4.110.0060.01016.60
7.4.100.0110.00616.74
7.4.90.0180.00616.63
7.4.80.0060.01019.39
7.4.70.0100.00716.64
7.4.60.0100.00716.67
7.4.50.0100.00616.55
7.4.40.0070.01416.76
7.4.30.0040.01216.57
7.4.00.0100.00615.30
7.3.330.0050.00013.17
7.3.320.0060.00013.21
7.3.310.0030.00316.39
7.3.300.0000.00616.37
7.3.290.0090.00716.36
7.3.280.0080.00916.34
7.3.270.0140.00417.40
7.3.260.0110.00816.54
7.3.250.0100.00916.46
7.3.240.0110.00916.54
7.3.230.0130.00616.63
7.3.210.0080.00816.67
7.3.200.0140.00316.43
7.3.190.0100.00716.66
7.3.180.0140.00416.72
7.3.170.0100.00616.60
7.3.160.0080.00816.37
7.2.330.0090.00816.49
7.2.320.0090.00916.55
7.2.310.0140.00316.92
7.2.300.0090.00916.39
7.2.290.0070.01116.62
7.2.60.0000.01117.00
7.2.00.0000.01119.28
7.1.200.0110.00415.97
7.1.100.0000.01218.16
7.1.70.0100.01117.02
7.1.60.0280.01235.11
7.1.50.0240.00434.82
7.1.40.0240.01734.53
7.1.30.0230.02034.69
7.1.20.0330.01034.85
7.1.10.0100.01116.69
7.1.00.0070.01116.67
7.0.200.0030.01316.77
7.0.190.0060.01216.73
7.0.180.0030.01716.18
7.0.170.0030.01616.43
7.0.160.0110.00816.27
7.0.150.0150.00616.45
7.0.140.0040.01716.18
7.0.130.0100.00716.60
7.0.120.0060.00916.66
7.0.110.0040.01416.29
7.0.100.0030.01216.29
7.0.90.0000.01816.22
7.0.80.0060.01316.37
7.0.70.0090.01016.31
7.0.60.0060.01216.10
7.0.50.0090.01216.52
7.0.40.0040.01816.55
7.0.30.0070.01316.32
7.0.20.0030.01616.42
7.0.10.0100.01016.63
7.0.00.0060.01016.46

preferences:
36.73 ms | 401 KiB | 5 Q