3v4l.org

run code in 300+ PHP versions simultaneously
<?php $months = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); $yes = 0; for ($i = 0; $i < 12; ++$i) { $result = date('F',strtotime($months[$i])); if ($result != $months[$i]) { $correct = "yes"; } else { $correct = "no"; $yes++; } echo $correct . " - " . $result . "\n"; } echo "\n" . $yes . " / 12 correct months."; ?>

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.00718.41
8.3.50.0120.00921.99
8.3.40.0140.00718.87
8.3.30.0100.00320.34
8.3.20.0080.00019.03
8.3.10.0040.00419.32
8.3.00.0060.00319.53
8.2.180.0110.00718.29
8.2.170.0130.00322.96
8.2.160.0130.00020.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.89
8.2.110.0090.00322.20
8.2.100.0060.00618.16
8.2.90.0060.00619.17
8.2.80.0040.00419.45
8.2.70.0080.00017.88
8.2.60.0080.00017.93
8.2.50.0030.00618.07
8.2.40.0060.00318.28
8.2.30.0050.00219.35
8.2.20.0080.00017.91
8.2.10.0040.00417.94
8.2.00.0080.00017.88
8.1.280.0000.01625.92
8.1.270.0000.00723.99
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0050.00520.88
8.1.230.0070.00719.14
8.1.220.0000.00817.88
8.1.210.0040.00418.77
8.1.200.0040.00417.47
8.1.190.0040.00417.63
8.1.180.0040.00418.10
8.1.170.0000.00718.77
8.1.160.0000.00718.95
8.1.150.0040.00418.82
8.1.140.0040.00417.68
8.1.130.0000.00717.99
8.1.120.0050.00217.54
8.1.110.0000.00717.51
8.1.100.0040.00417.54
8.1.90.0000.00817.53
8.1.80.0040.00417.65
8.1.70.0030.00517.56
8.1.60.0030.00517.73
8.1.50.0050.00217.60
8.1.40.0030.00517.66
8.1.30.0040.00417.79
8.1.20.0030.00517.68
8.1.10.0000.00817.74
8.1.00.0030.00617.55
8.0.300.0030.00618.77
8.0.290.0060.00317.18
8.0.280.0000.00718.43
8.0.270.0030.00317.33
8.0.260.0040.00417.02
8.0.250.0020.00517.19
8.0.240.0030.00717.05
8.0.230.0030.00317.16
8.0.220.0030.00316.96
8.0.210.0040.00417.02
8.0.200.0000.00617.02
8.0.190.0080.00017.08
8.0.180.0040.00417.02
8.0.170.0030.00517.11
8.0.160.0040.00417.11
8.0.150.0040.00417.02
8.0.140.0070.00016.98
8.0.130.0000.00613.48
8.0.120.0000.00917.07
8.0.110.0040.00417.02
8.0.100.0000.00817.10
8.0.90.0000.00717.08
8.0.80.0110.00717.05
8.0.70.0080.00016.88
8.0.60.0020.00517.00
8.0.50.0000.00817.04
8.0.30.0110.00817.19
8.0.20.0120.01017.40
8.0.10.0070.00017.27
8.0.00.0120.00916.99
7.4.330.0030.00316.67
7.4.320.0000.00616.74
7.4.300.0030.00316.68
7.4.290.0000.00716.70
7.4.280.0000.00716.73
7.4.270.0000.00716.73
7.4.260.0000.00513.34
7.4.250.0000.00816.74
7.4.240.0000.00716.73
7.4.230.0040.00416.82
7.4.220.0150.00416.54
7.4.210.0080.00616.73
7.4.200.0080.00016.54
7.4.190.0070.00016.54
7.4.160.0150.00316.53
7.4.150.0080.01117.40
7.4.140.0090.00917.86
7.4.130.0120.00916.68
7.4.120.0060.01216.67
7.4.110.0070.01416.66
7.4.100.0070.01516.69
7.4.90.0120.00816.75
7.4.80.0120.00619.39
7.4.70.0070.01116.64
7.4.60.0070.01016.68
7.4.50.0030.00616.68
7.4.40.0130.00322.77
7.4.30.0100.00616.72
7.4.00.0070.01115.09
7.3.330.0030.00313.13
7.3.320.0030.00313.20
7.3.310.0030.00316.46
7.3.300.0070.00016.39
7.3.290.0060.00916.36
7.3.280.0100.00716.37
7.3.270.0180.00417.40
7.3.260.0110.00718.24
7.3.250.0130.00716.68
7.3.240.0030.01316.43
7.3.230.0160.00616.63
7.3.210.0100.00716.51
7.3.200.0060.01419.39
7.3.190.0130.00416.68
7.3.180.0060.00916.66
7.3.170.0080.00816.67
7.3.160.0070.01016.48
7.3.120.0030.01314.96
7.3.10.0070.00716.81
7.3.00.0080.01016.83
7.2.330.0100.01416.97
7.2.320.0090.00916.72
7.2.310.0140.01016.87
7.2.300.0040.01317.00
7.2.290.0190.00416.55
7.2.130.0040.01117.10
7.2.120.0060.01216.98
7.2.110.0190.01016.91
7.2.100.0120.00316.90
7.2.90.0060.00917.16
7.2.80.0110.00017.20
7.2.70.0090.00617.20
7.2.60.0070.00617.15
7.2.50.0070.00716.92
7.2.40.0100.00317.11
7.2.30.0060.01216.79
7.2.20.0110.00417.03
7.2.10.0100.00316.82
7.2.00.0000.00916.98
7.1.250.0090.00415.91
7.1.240.0030.01315.97
7.1.230.0040.00415.90
7.1.220.0000.01316.02
7.1.210.0120.00415.87
7.1.200.0050.00815.85
7.1.190.0070.00715.92
7.1.180.0000.01016.00
7.1.170.0040.00815.76
7.1.160.0080.00515.92
7.1.150.0040.01115.84
7.1.140.0030.00515.97
7.1.130.0090.00915.67
7.1.120.0080.00015.88
7.1.110.0060.00815.93
7.1.100.0030.01515.81
7.1.90.0070.01015.97
7.1.80.0120.00316.05
7.1.70.0020.00816.52
7.1.60.0130.00617.70
7.1.50.0080.01116.62
7.1.40.0030.01016.07
7.1.30.0000.01316.09
7.1.20.0100.00616.08
7.1.10.0070.01015.59
7.1.00.0050.02019.23
7.0.330.0100.00315.22
7.0.320.0070.00715.51
7.0.310.0090.00014.96
7.0.300.0070.00315.30
7.0.290.0070.00715.66
7.0.280.0070.00715.53
7.0.270.0070.00715.56
7.0.260.0040.01215.34
7.0.250.0100.00715.36
7.0.240.0070.00415.69
7.0.230.0090.00615.32
7.0.220.0070.00315.59
7.0.210.0000.01615.45
7.0.200.0050.00516.37
7.0.190.0060.00615.47
7.0.180.0000.01315.69
7.0.170.0040.00915.52
7.0.160.0060.00615.19
7.0.150.0080.00515.34
7.0.140.0070.03818.76
7.0.130.0080.00415.65
7.0.120.0060.00915.23
7.0.110.0100.00315.53
7.0.100.0090.00615.51
7.0.90.0000.01115.46
7.0.80.0290.04017.78
7.0.70.0280.04017.75
7.0.60.0320.02917.67
7.0.50.0360.04317.80
7.0.40.0140.04216.75
7.0.30.0070.04316.80
7.0.20.0080.04516.72
7.0.10.0110.03516.87
7.0.00.0050.04316.88
5.6.380.0030.00914.59
5.6.370.0000.01314.26
5.6.360.0000.00814.14
5.6.350.0000.01714.59
5.6.340.0060.00614.41
5.6.330.0130.00314.95
5.6.320.0000.01614.65
5.6.310.0030.00914.36
5.6.300.0070.00714.38
5.6.290.0040.00714.68
5.6.280.0100.00614.82
5.6.270.0100.00714.40
5.6.260.0060.01014.41
5.6.250.0030.01014.55
5.6.240.0060.00914.84
5.6.230.0130.04217.58
5.6.220.0060.04117.49
5.6.210.0050.03217.55
5.6.200.0030.04217.87
5.6.190.0050.04617.71
5.6.180.0120.03817.71
5.6.170.0080.02517.60
5.6.160.0030.03117.68
5.6.150.0080.02317.76
5.6.140.0090.03517.85
5.6.130.0080.02517.65
5.6.120.0090.02117.70
5.6.110.0060.02817.70
5.6.100.0030.02517.84
5.6.90.0070.02017.67
5.6.80.0020.02617.44
5.6.70.0060.02417.40
5.6.60.0000.02917.57
5.6.50.0030.02517.44
5.6.40.0030.02317.37
5.6.30.0100.01817.33
5.6.20.0080.03317.31
5.6.10.0030.02517.30
5.6.00.0070.03917.41
5.5.380.0080.00011.64
5.5.370.0030.03016.01
5.5.360.0080.04116.04
5.5.350.0100.03916.03
5.5.340.0110.02416.28
5.5.330.0070.04316.27
5.5.320.0150.03716.28
5.5.310.0080.04316.27
5.5.300.0060.02616.27
5.5.290.0020.02716.21
5.5.280.0030.02516.28
5.5.270.0030.02816.26
5.5.260.0090.02316.28
5.5.250.0080.03716.10
5.5.240.0030.03615.95
5.5.230.0040.03315.97
5.5.220.0020.04015.89
5.5.210.0030.02515.88
5.5.200.0050.02015.95
5.5.190.0030.03515.95
5.5.180.0050.03215.96
5.5.170.0030.00911.64
5.5.160.0030.02515.94
5.5.150.0050.02315.88
5.5.140.0020.02515.95
5.5.130.0030.02815.88
5.5.120.0020.02215.89
5.5.110.0010.03615.86
5.5.100.0030.02515.91
5.5.90.0020.02215.79
5.5.80.0030.04315.90
5.5.70.0050.02215.89
5.5.60.0060.02315.89
5.5.50.0080.03615.85
5.5.40.0060.01715.88
5.5.30.0070.02015.83
5.5.20.0050.02115.89
5.5.10.0000.02715.84
5.5.00.0110.03715.87
5.4.450.0060.02115.49
5.4.440.0070.02115.50
5.4.430.0090.01715.43
5.4.420.0020.03215.47
5.4.410.0090.01815.45
5.4.400.0060.02015.38
5.4.390.0050.02215.31
5.4.380.0050.02015.43
5.4.370.0050.02015.29
5.4.360.0030.03115.36
5.4.350.0020.02215.36
5.4.340.0050.01815.21
5.4.330.0000.01011.64
5.4.320.0010.02915.33
5.4.310.0120.02815.23
5.4.300.0070.03615.30
5.4.290.0030.02215.30
5.4.280.0050.02215.35
5.4.270.0070.02015.30
5.4.260.0060.02315.37
5.4.250.0020.02315.21
5.4.240.0050.02315.21
5.4.230.0020.03215.26
5.4.220.0100.02015.36
5.4.210.0040.03815.40
5.4.200.0030.03715.27
5.4.190.0080.01815.34
5.4.180.0050.02015.37
5.4.170.0090.04315.36
5.4.160.0050.03915.37
5.4.150.0130.02015.29
5.4.140.0050.03714.03
5.4.130.0050.04214.04
5.4.120.0020.03214.01
5.4.110.0050.02713.98
5.4.100.0030.04514.01
5.4.90.0100.03313.97
5.4.80.0060.03813.99
5.4.70.0130.03513.94
5.4.60.0050.04113.96
5.4.50.0070.04014.01
5.4.40.0020.02614.04
5.4.30.0050.03014.01
5.4.20.0070.03914.02
5.4.10.0080.03714.01
5.4.00.0050.03913.72
5.3.290.0030.04113.10
5.3.280.0030.02213.07
5.3.270.0020.04213.09
5.3.260.0050.03213.09
5.3.250.0050.02213.11
5.3.240.0060.03613.11
5.3.230.0050.03813.11
5.3.220.0030.03913.06
5.3.210.0050.04513.09
5.3.200.0090.03613.03
5.3.190.0080.03813.08
5.3.180.0030.04313.08
5.3.170.0050.02313.10
5.3.160.0060.04113.09
5.3.150.0090.03713.09
5.3.140.0050.03413.04
5.3.130.0030.02113.02
5.3.120.0110.01813.02
5.3.110.0020.02813.09
5.3.100.0050.03912.81
5.3.90.0050.03812.79
5.3.80.0070.03112.78
5.3.70.0020.04612.76
5.3.60.0070.03012.81
5.3.50.0090.03912.72
5.3.40.0070.04012.79
5.3.30.0030.02712.73
5.3.20.0050.04012.66
5.3.10.0040.02912.52
5.3.00.0080.03512.57
5.2.170.0020.03711.39
5.2.160.0000.03111.40
5.2.150.0020.03811.38
5.2.140.0030.01911.31
5.2.130.0050.03211.28
5.2.120.0040.02311.36
5.2.110.0030.03711.29
5.2.100.0020.02411.28
5.2.90.0040.02911.36
5.2.80.0050.03311.39
5.2.70.0070.03011.36
5.2.60.0030.03511.32
5.2.50.0030.02811.30
5.2.40.0060.02811.31
5.2.30.0030.03511.30
5.2.20.0050.02711.33
5.2.10.0030.03311.21
5.2.00.0050.03011.10
5.1.60.0030.03010.84
5.1.50.0030.02910.86
5.1.40.0050.02810.85
5.1.30.0040.02710.94
5.1.20.0050.02910.99
5.1.10.0050.03110.77
5.1.00.0020.03410.90
5.0.50.0020.02810.08
5.0.40.0070.02010.05
5.0.30.0030.0309.97
5.0.20.0020.0259.91
5.0.10.0030.0239.90
5.0.00.0050.0299.89
4.4.90.0030.0179.51
4.4.80.0030.0199.51
4.4.70.0060.0169.51
4.4.60.0070.0169.51
4.4.50.0050.0169.51
4.4.40.0000.0339.51
4.4.30.0020.0219.51
4.4.20.0000.0159.51
4.4.10.0030.0189.51
4.4.00.0030.0239.51
4.3.110.0000.0159.51
4.3.100.0020.0199.51
4.3.90.0070.0139.51
4.3.80.0030.0259.51
4.3.70.0050.0179.51
4.3.60.0020.0149.51
4.3.50.0010.0199.51
4.3.40.0030.0239.51
4.3.30.0000.0179.51
4.3.20.0020.0229.51
4.3.10.0020.0159.51
4.3.00.0020.0129.51

preferences:
55.72 ms | 401 KiB | 5 Q