3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today_day = 28; $day = date("d-m-Y", mktime(0,0,0,2, $today_day,date("Y"))); $firstday = $day; $data_exploded=explode("-", $firstday); $mes = data_exploded[1]; $ano = data_exploded[2]; echo "firstday=$firstday\n"; echo "m=".$mes . " | Y=" . $ano."\n"; echo $day ."\n"; $today_day++; $day = date("d-m-Y", mktime(0,0,0,$mes,$today_day,$ano)); echo "m=".$mes . " | Y=" . $ano."\n"; echo $day ."\n"; $today_day++; $day = date("d-m-Y", mktime(0,0,0,$mes,$today_day,$ano)); echo $day ."\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.0120.00317.00
8.3.50.0100.00717.43
8.3.40.0100.00718.96
8.3.30.0100.00719.02
8.3.20.0040.00419.03
8.3.10.0030.00620.77
8.3.00.0040.00419.50
8.2.180.0110.00418.54
8.2.170.0120.00322.96
8.2.160.0080.00818.98
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0040.01121.05
8.2.110.0040.00821.07
8.2.100.0040.00718.03
8.2.90.0030.00519.22
8.2.80.0080.00019.16
8.2.70.0040.00417.63
8.2.60.0050.00317.93
8.2.50.0000.00818.07
8.2.40.0000.00818.24
8.2.30.0030.00718.05
8.2.20.0000.01017.77
8.2.10.0040.00417.94
8.2.00.0040.00417.87
8.1.280.0090.00625.92
8.1.270.0060.00323.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.01021.32
8.1.230.0040.00719.12
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0070.00317.35
8.1.190.0080.00017.53
8.1.180.0030.00518.10
8.1.170.0030.00618.89
8.1.160.0040.00418.90
8.1.150.0030.00518.84
8.1.140.0050.00317.59
8.1.130.0070.00017.90
8.1.120.0040.00417.63
8.1.110.0060.00617.48
8.1.100.0040.00417.59
8.1.90.0040.00417.55
8.1.80.0000.00717.57
8.1.70.0030.00517.55
8.1.60.0000.00717.56
8.1.50.0070.00017.59
8.1.40.0030.00617.64
8.1.30.0040.00417.78
8.1.20.0000.00817.79
8.1.10.0040.00417.55
8.1.00.0060.00317.51
8.0.300.0040.00418.96
8.0.290.0040.00416.88
8.0.280.0000.00718.53
8.0.270.0030.00317.34
8.0.260.0000.00616.96
8.0.250.0040.00417.10
8.0.240.0030.00717.16
8.0.230.0080.00017.18
8.0.220.0000.00717.04
8.0.210.0030.00316.98
8.0.200.0030.00717.15
8.0.190.0040.00417.21
8.0.180.0030.00617.14
8.0.170.0030.00616.88
8.0.160.0000.00817.21
8.0.150.0040.00416.97
8.0.140.0080.00317.09
8.0.130.0000.00713.44
8.0.120.0040.00716.95
8.0.110.0080.00016.89
8.0.100.0000.00717.00
8.0.90.0030.00317.06
8.0.80.0060.00917.05
8.0.70.0040.00416.98
8.0.60.0050.00317.09
8.0.50.0040.00417.17
8.0.30.0150.00617.18
8.0.20.0090.01017.21
8.0.10.0000.00717.18
8.0.00.0100.01016.76
7.4.330.0020.00213.07
7.4.320.0030.00316.60
7.4.300.0050.00216.72
7.4.290.0030.00316.66
7.4.280.0050.00316.57
7.4.270.0030.00316.54
7.4.260.0030.00313.18
7.4.250.0060.00316.59
7.4.240.0000.00716.58
7.4.230.0070.00016.71
7.4.220.0070.01116.71
7.4.210.0090.00616.79
7.4.200.0030.00516.34
7.4.190.0030.00516.77
7.4.160.0040.01216.76
7.4.150.0040.01416.82
7.4.140.0120.00416.66
7.4.130.0130.00616.57
7.4.120.0040.01316.59
7.4.110.0150.00816.50
7.4.100.0060.01116.69
7.4.90.0060.01216.66
7.4.80.0070.01019.39
7.4.70.0100.00616.66
7.4.60.0060.01416.81
7.4.50.0060.00316.42
7.4.40.0030.00916.71
7.4.30.0130.00416.50
7.4.10.0060.01315.22
7.4.00.0060.01114.89
7.3.330.0000.00613.31
7.3.320.0000.00613.32
7.3.310.0030.00316.52
7.3.300.0040.00416.50
7.3.290.0070.00916.49
7.3.280.0140.00716.46
7.3.270.0070.01116.59
7.3.260.0100.01616.63
7.3.250.0160.01116.58
7.3.240.0080.00916.63
7.3.230.0060.01716.61
7.3.210.0110.00716.57
7.3.200.0150.00316.61
7.3.190.0100.01316.66
7.3.180.0120.00616.63
7.3.170.0130.00416.64
7.3.160.0060.01116.52
7.3.130.0060.00615.07
7.3.120.0050.01115.08
7.3.110.0060.01115.14
7.3.100.0050.00715.03
7.3.90.0070.00814.95
7.3.80.0070.00615.08
7.3.70.0040.01014.92
7.3.60.0070.00615.01
7.3.50.0040.01014.89
7.3.40.0050.00915.00
7.3.30.0060.00614.97
7.3.20.0080.00816.77
7.3.10.0070.00516.85
7.3.00.0080.00716.77
7.2.330.0160.00316.50
7.2.320.0040.01416.90
7.2.310.0060.01116.79
7.2.300.0140.00316.85
7.2.290.0040.01616.65
7.2.260.0070.01114.91
7.2.250.0040.01615.31
7.2.240.0070.01015.28
7.2.230.0050.01215.05
7.2.220.0060.01014.90
7.2.210.0030.01115.08
7.2.200.0040.00715.30
7.2.190.0040.00815.31
7.2.180.0070.00615.21
7.2.170.0030.00915.27
7.2.160.0050.00715.27
7.2.150.0070.00716.96
7.2.140.0120.00217.10
7.2.130.0080.01116.91
7.2.120.0090.00617.14
7.2.110.0080.00617.00
7.2.100.0100.00317.02
7.2.90.0080.00317.05
7.2.80.0070.00917.19
7.2.70.0070.01117.18
7.2.60.0090.00717.09
7.2.50.0080.00517.21
7.2.40.0030.00817.13
7.2.30.0030.01216.97
7.2.20.0070.00817.06
7.2.10.0090.00617.04
7.2.00.0120.00817.88
7.1.330.0060.00515.84
7.1.320.0040.00915.83
7.1.310.0070.00715.86
7.1.300.0060.00815.89
7.1.290.0060.00715.90
7.1.280.0100.00515.79
7.1.270.0040.01015.71
7.1.260.0050.00915.93
7.1.250.0070.00616.04
7.1.240.0080.00415.93
7.1.230.0030.00516.09
7.1.220.0000.01115.93
7.1.210.0040.01115.53
7.1.200.0100.00615.80
7.1.190.0000.01716.01
7.1.180.0060.00616.02
7.1.170.0080.00415.59
7.1.160.0100.00616.06
7.1.150.0050.00515.95
7.1.140.0030.01415.80
7.1.130.0030.01215.63
7.1.120.0080.00816.09
7.1.110.0060.00616.00
7.1.100.0080.00817.01
7.1.90.0030.00616.07
7.1.80.0000.00915.66
7.1.70.0030.00616.60
7.1.60.0060.01117.65
7.1.50.0030.01316.34
7.1.40.0060.01016.12
7.1.30.0030.00616.02
7.1.20.0070.01015.73
7.1.10.0040.00415.68
7.1.00.0060.03919.10
7.0.330.0130.00715.54
7.0.320.0030.01015.30
7.0.310.0110.00315.57
7.0.300.0000.01215.44
7.0.290.0110.00415.46
7.0.280.0100.00015.53
7.0.270.0070.01015.41
7.0.260.0060.00615.33
7.0.250.0030.00715.50
7.0.240.0000.01415.30
7.0.230.0070.00715.26
7.0.220.0000.00815.47
7.0.210.0050.00515.65
7.0.200.0020.00916.23
7.0.190.0070.00715.62
7.0.180.0060.00915.18
7.0.170.0090.00615.59
7.0.160.0030.01015.69
7.0.150.0050.00215.37
7.0.140.0010.04318.69
7.0.130.0030.00915.52
7.0.120.0000.04418.59
7.0.110.0060.00315.34
7.0.100.0060.00315.54
7.0.90.0300.04417.84
7.0.80.0130.04417.71
7.0.70.0170.03717.62
7.0.60.0220.03217.64
7.0.50.0220.02217.98
7.0.40.0050.02416.78
7.0.30.0040.03116.82
7.0.20.0080.02616.70
7.0.10.0100.03816.88
7.0.00.0040.03916.91
5.6.400.0000.01314.64
5.6.390.0030.01014.61
5.6.380.0090.00614.45
5.6.370.0030.01314.82
5.6.360.0060.01014.77
5.6.350.0030.00914.66
5.6.340.0060.00614.38
5.6.330.0030.01414.69
5.6.320.0080.00014.45
5.6.310.0040.01114.25
5.6.300.0100.00314.24
5.6.290.0060.00614.65
5.6.280.0030.04117.80
5.6.270.0030.00714.60
5.6.260.0030.01014.32
5.6.250.0000.01314.57
5.6.240.0100.04017.68
5.6.230.0030.04417.39
5.6.220.0100.03517.65
5.6.210.0030.02417.62
5.6.200.0030.04517.75
5.6.190.0080.02517.74
5.6.180.0030.02417.61
5.6.170.0090.02417.74
5.6.160.0050.04317.78
5.6.150.0100.04217.67
5.6.140.0090.02717.83
5.6.130.0080.02217.78
5.6.120.0100.04317.73
5.6.110.0050.03717.81
5.6.100.0080.04517.81
5.6.90.0070.02517.63
5.6.80.0050.02517.51
5.6.70.0080.04117.30
5.6.60.0070.04417.42
5.6.50.0120.02317.43
5.6.40.0110.03817.26
5.6.30.0070.03517.55
5.6.20.0020.03317.23
5.6.10.0070.04417.24
5.6.00.0080.04017.31
5.5.380.0070.04117.14
5.5.370.0070.04017.17
5.5.360.0030.04617.34
5.5.350.0100.04317.24
5.5.340.0070.02417.29
5.5.330.0070.04217.34
5.5.320.0090.04217.29
5.5.310.0040.04417.23
5.5.300.0050.02717.36
5.5.290.0120.02817.36
5.5.280.0100.04417.33
5.5.270.0050.02817.20
5.5.260.0120.03817.15
5.5.250.0060.03217.32
5.5.240.0060.04617.02
5.5.230.0090.03517.02
5.5.220.0130.03617.15
5.5.210.0090.03517.02
5.5.200.0100.03917.02
5.5.190.0080.04217.11
5.5.180.0030.02517.02
5.5.170.0040.01113.83
5.5.160.0070.03917.14
5.5.150.0030.02417.08
5.5.140.0040.02817.12
5.5.130.0100.01817.05
5.5.120.0090.03017.06
5.5.110.0060.04117.12
5.5.100.0060.03017.00
5.5.90.0080.02016.88
5.5.80.0070.02316.89
5.5.70.0100.04016.98
5.5.60.0020.04516.90
5.5.50.0120.03616.89
5.5.40.0070.04017.02
5.5.30.0070.03916.97
5.5.20.0080.03217.09
5.5.10.0020.03217.05
5.5.00.0050.04016.91
5.4.450.0080.02016.32
5.4.440.0030.02616.30
5.4.430.0050.04216.38
5.4.420.0030.04216.35
5.4.410.0100.03216.28
5.4.400.0030.04416.14
5.4.390.0070.02316.19
5.4.380.0020.02816.13
5.4.370.0060.03016.14
5.4.360.0070.02716.14
5.4.350.0070.03516.22
5.4.340.0050.02516.18
5.4.330.0040.00413.24
5.4.320.0050.02216.18
5.4.310.0060.03516.04
5.4.300.0070.02216.04
5.4.290.0050.03016.13
5.4.280.0020.03316.04
5.4.270.0090.03616.22
5.4.260.0050.03416.05
5.4.250.0020.04316.08
5.4.240.0090.03416.13
5.4.230.0030.03916.05
5.4.220.0030.02716.21
5.4.210.0050.02016.19
5.4.200.0090.03616.05
5.4.190.0080.02316.16
5.4.180.0090.03016.19
5.4.170.0100.03816.22
5.4.160.0070.03816.04
5.4.150.0030.02516.08
5.4.140.0090.02814.80
5.4.130.0100.02914.84
5.4.120.0050.03814.81
5.4.110.0060.02014.84
5.4.100.0090.03414.84
5.4.90.0070.03714.84
5.4.80.0120.03314.83
5.4.70.0030.04314.83
5.4.60.0080.02214.78
5.4.50.0080.01814.80
5.4.40.0050.03214.87
5.4.30.0050.02814.84
5.4.20.0060.03814.76
5.4.10.0090.03614.76
5.4.00.0080.03814.52
5.3.290.0060.02813.95
5.3.280.0100.01713.91
5.3.270.0020.02913.90
5.3.260.0020.03613.92
5.3.250.0050.04213.85
5.3.240.0050.02213.84
5.3.230.0050.04013.91
5.3.220.0060.03913.89
5.3.210.0070.02913.88
5.3.200.0060.04013.91
5.3.190.0080.03713.82
5.3.180.0060.02613.90
5.3.170.0040.04313.88
5.3.160.0030.03113.88
5.3.150.0050.02313.83
5.3.140.0070.02313.81
5.3.130.0000.02513.90
5.3.120.0040.04113.81
5.3.110.0050.03713.83
5.3.100.0060.04013.63
5.3.90.0050.04113.55
5.3.80.0050.03013.64
5.3.70.0020.04313.62
5.3.60.0070.03813.63
5.3.50.0030.03913.48
5.3.40.0050.04213.60
5.3.30.0070.02813.46
5.3.20.0060.02613.46
5.3.10.0020.03813.44
5.3.00.0000.03413.33
5.2.170.0100.05711.11
5.2.160.0070.05311.23
5.2.150.0000.05011.07
5.2.140.0000.06310.97
5.2.130.0030.03310.96
5.2.120.0000.03711.15
5.2.110.0030.04311.01
5.2.100.0070.05011.08
5.2.90.0030.06011.11
5.2.80.0070.06011.07
5.2.70.0100.05711.11
5.2.60.0030.05710.87
5.2.50.0100.03711.05
5.2.40.0070.05310.99
5.2.30.0030.06010.94
5.2.20.0000.06710.85
5.2.10.0000.05010.88
5.2.00.0070.05310.61
5.1.60.0000.02310.32
5.1.50.0030.02310.32
5.1.40.0030.04010.32
5.1.30.0070.03310.37
5.1.20.0070.05310.38
5.1.10.0100.05010.32
5.1.00.0000.04310.32
5.0.50.0130.02710.32
5.0.40.0000.04010.32
5.0.30.0070.03710.32
5.0.20.0070.04310.32
5.0.10.0000.03010.32
5.0.00.0030.06010.32
4.4.90.0030.03310.32
4.4.80.0070.02310.32
4.4.70.0000.02010.32
4.4.60.0070.03010.32
4.4.50.0000.03710.32
4.4.40.0000.04710.32
4.4.30.0030.02310.32
4.4.20.0000.03310.32
4.4.10.0070.03310.32
4.4.00.0030.05710.32
4.3.110.0000.03310.32
4.3.100.0000.02010.32
4.3.90.0030.02010.32
4.3.80.0070.04310.32
4.3.70.0070.03010.32
4.3.60.0000.03710.32
4.3.50.0030.02310.32
4.3.40.0000.05710.32
4.3.30.0030.03710.32
4.3.20.0000.03710.32
4.3.10.0030.02710.32
4.3.00.0070.02010.32

preferences:
58.14 ms | 400 KiB | 5 Q