3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = strtotime('20016-02-05'); $end = strtotime('2016-04-05'); $start_m = new DateTime($_GET["fecha1"]); $end_m = new DateTime($_GET["fecha2"]); $start_m->modify('first day of this month'); $end_m->modify('first day of next month'); $interval = DateInterval::createFromDateString('1 month'); $period = new DatePeriod($start_m, $interval, $end_m); print_r($date_range_m);

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.0100.00716.75
8.3.50.0090.00922.05
8.3.40.0120.00319.17
8.3.30.0120.00918.96
8.3.20.0040.00420.00
8.3.10.0050.00320.60
8.3.00.0110.00420.69
8.2.180.0120.00317.13
8.2.170.0060.01222.96
8.2.160.0080.00619.33
8.2.150.0060.01224.18
8.2.140.0080.00024.66
8.2.130.0120.00319.73
8.2.120.0120.00626.35
8.2.110.0060.00320.59
8.2.100.0090.00317.88
8.2.90.0040.00419.47
8.2.80.0080.00018.13
8.2.70.0040.00417.88
8.2.60.0030.00618.16
8.2.50.0040.00418.10
8.2.40.0070.00320.40
8.2.30.0030.00619.53
8.2.20.0000.00817.96
8.2.10.0000.00818.26
8.2.00.0000.00718.28
8.1.280.0120.00925.92
8.1.270.0030.00523.91
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0040.00423.96
8.1.230.0080.00417.73
8.1.220.0030.00617.77
8.1.210.0080.00018.77
8.1.200.0090.00017.61
8.1.190.0040.00417.60
8.1.180.0000.00818.10
8.1.170.0030.00618.82
8.1.160.0000.00721.07
8.1.150.0070.00019.05
8.1.140.0040.00419.66
8.1.130.0040.00717.82
8.1.120.0000.00817.66
8.1.110.0040.00417.76
8.1.100.0060.00317.71
8.1.90.0050.00217.71
8.1.80.0000.00817.63
8.1.70.0050.00217.73
8.1.60.0040.00417.72
8.1.50.0040.00417.75
8.1.40.0000.00717.72
8.1.30.0040.00417.77
8.1.20.0030.00617.79
8.1.10.0060.00317.62
8.1.00.0060.00317.57
8.0.300.0000.00818.96
8.0.290.0000.00717.13
8.0.280.0080.00018.48
8.0.270.0000.00717.33
8.0.260.0060.00017.46
8.0.250.0030.00317.31
8.0.240.0030.00317.37
8.0.230.0060.00317.18
8.0.220.0040.00417.14
8.0.210.0000.00717.25
8.0.200.0030.00317.09
8.0.190.0030.00617.21
8.0.180.0040.00417.23
8.0.170.0040.00417.21
8.0.160.0000.00817.35
8.0.150.0050.00317.21
8.0.140.0040.00417.22
8.0.130.0060.00013.54
8.0.120.0030.00517.21
8.0.110.0000.00817.12
8.0.100.0040.00417.30
8.0.90.0030.00517.14
8.0.80.0060.01017.20
8.0.70.0040.00417.19
8.0.60.0040.00417.22
8.0.50.0040.00417.14
8.0.30.0080.01017.33
8.0.20.0130.00817.40
8.0.10.0000.00917.39
8.0.00.0150.00717.01
7.4.330.0050.00215.26
7.4.320.0000.00616.85
7.4.300.0030.00316.72
7.4.290.0040.00416.69
7.4.280.0030.00616.84
7.4.270.0030.00316.87
7.4.260.0030.00316.79
7.4.250.0040.00416.77
7.4.240.0030.00616.72
7.4.230.0000.00716.58
7.4.220.0090.00916.66
7.4.210.0060.01016.72
7.4.200.0070.00016.80
7.4.160.0060.00916.74
7.4.150.0140.00317.40
7.4.140.0060.01317.86
7.4.130.0070.01016.88
7.4.120.0150.00416.88
7.4.110.0070.01416.79
7.4.100.0140.00317.01
7.4.90.0040.01316.89
7.4.80.0060.01519.39
7.4.70.0100.00716.58
7.4.60.0080.00816.76
7.4.50.0040.01116.67
7.4.40.0130.00316.95
7.4.30.0030.01216.63
7.4.00.0000.01715.32
7.3.330.0100.00313.18
7.3.320.0060.00013.32
7.3.310.0070.00016.31
7.3.300.0020.00516.48
7.3.290.0060.00016.48
7.3.280.0110.00916.54
7.3.270.0100.00717.40
7.3.260.0120.00616.60
7.3.250.0080.01016.73
7.3.240.0050.01316.72
7.3.230.0080.00816.70
7.3.210.0030.02116.69
7.3.200.0090.00916.91
7.3.190.0110.00316.88
7.3.180.0110.00416.55
7.3.170.0070.01116.58
7.3.160.0100.01016.84
7.3.10.0120.00516.77
7.3.00.0120.00816.79
7.2.330.0100.00716.91
7.2.320.0140.00316.87
7.2.310.0170.00016.71
7.2.300.0070.01016.67
7.2.290.0060.01016.86
7.2.130.0100.00816.93
7.2.120.0090.00816.92
7.2.110.0090.01016.87
7.2.100.0130.00716.83
7.2.90.0110.01116.91
7.2.80.0140.00616.75
7.2.70.0090.01316.95
7.2.60.0100.00816.96
7.2.50.0100.00816.88
7.2.40.0170.00916.99
7.2.30.0050.01516.89
7.2.20.0040.01616.94
7.2.10.0120.01216.91
7.2.00.0080.00717.99
7.1.250.0100.00615.93
7.1.200.0090.00615.96
7.1.100.0000.01018.14
7.1.70.0030.00617.50
7.1.60.0030.00919.23
7.1.00.0170.06322.43
7.0.200.0000.00916.84
7.0.60.0130.03021.68
7.0.50.0100.08317.83
7.0.40.0300.05319.81
7.0.30.0170.05720.35
7.0.20.0200.05720.24
7.0.10.0270.08020.07
7.0.00.0030.07019.85
5.6.280.0030.07020.91
5.6.210.0070.08020.75
5.6.200.0100.09018.09
5.6.190.0170.06020.31
5.6.180.0070.06320.46
5.6.170.0170.05320.56
5.6.160.0230.05720.46
5.6.150.0230.06020.42
5.6.140.0100.06719.98
5.6.130.0370.05720.44
5.6.120.0230.06020.34
5.6.110.0000.07320.39
5.6.100.0170.07020.33
5.6.90.0070.06720.09
5.6.80.0870.04719.86
5.6.70.0800.05319.88
5.6.60.0870.05719.79
5.6.50.0930.06319.50
5.6.40.0330.05019.80
5.6.30.0170.06019.76
5.6.20.0200.06019.75
5.6.10.0370.05319.79
5.6.00.0230.05719.88
5.5.350.0230.09020.41
5.5.340.0030.07717.91
5.5.330.0270.05020.11
5.5.320.0470.04720.35
5.5.310.0300.04320.41
5.5.300.0700.07320.08
5.5.290.0430.05719.82
5.5.280.0170.06019.93
5.5.270.0170.06020.20
5.5.260.0200.06320.13
5.5.250.0470.06320.14
5.5.240.0700.06319.30
5.5.230.0800.05719.71
5.5.220.0870.06319.62
5.5.210.0570.06319.36
5.5.200.0670.05719.29
5.5.190.0500.05719.59
5.5.180.0230.05019.68
5.5.160.0170.05319.53
5.5.150.0170.06319.44
5.5.140.0300.05019.54
5.5.130.0200.05719.44
5.5.120.0200.06319.44
5.5.110.0230.06719.48
5.5.100.0400.05719.57
5.5.90.0570.06719.45
5.5.80.0300.06019.57
5.5.70.0200.05719.15
5.5.60.0230.05019.53
5.5.50.0300.05719.33
5.5.40.0100.06019.45
5.5.30.0370.05319.43
5.5.20.0330.05319.50
5.5.10.0130.07019.52
5.5.00.0500.06319.51

preferences:
76.68 ms | 401 KiB | 5 Q