3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("Y-M-d", mktime(11, 45, 0, 01, 05, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 01, 06, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 01, 07, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 01, 08, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 01, 09, 2014)); echo ", "; echo "\n"; echo date("Y-M-d", mktime(11, 45, 0, 1, 5, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 1, 6, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 1, 7, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 1, 8, 2014)); echo ", "; echo date("Y-M-d", mktime(11, 45, 0, 1, 9, 2014)); echo ", ";

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.120.0100.00018.93
8.3.110.0140.00616.84
8.3.100.0180.00916.06
8.3.90.0200.00316.27
8.3.80.0230.00016.73
8.3.70.0140.01116.54
8.3.60.0190.00518.20
8.3.50.0230.00016.63
8.3.40.0190.00317.53
8.3.30.0170.00417.39
8.3.20.0130.00917.31
8.3.10.0070.01117.24
8.3.00.0060.00617.49
8.2.240.0160.00416.65
8.2.230.0200.00016.09
8.2.220.0090.01216.08
8.2.210.0150.00617.84
8.2.200.0080.01216.29
8.2.190.0140.00616.55
8.2.180.0160.00616.13
8.2.170.0150.00617.42
8.2.160.0160.00517.38
8.2.150.0140.00717.38
8.2.140.0150.00917.18
8.2.130.0220.00017.23
8.2.120.0140.00717.15
8.2.110.0150.00617.36
8.2.100.0180.00317.44
8.2.90.0180.00317.15
8.2.80.0140.00517.17
8.2.70.0210.00017.22
8.2.60.0170.00317.28
8.2.50.0210.00017.27
8.2.40.0190.00017.20
8.2.30.0090.00917.33
8.2.20.0140.00617.07
8.2.10.0130.00617.25
8.2.00.0190.00017.21
8.1.290.0200.00015.91
8.1.280.0120.00816.14
8.1.270.0180.00617.02
8.1.260.0220.00016.88
8.1.250.0220.00016.98
8.1.240.0150.00618.87
8.1.230.0150.00317.15
8.1.220.0050.01417.06
8.1.210.0160.00416.91
8.1.200.0120.00616.64
8.1.190.0110.00816.70
8.1.180.0080.01216.89
8.1.170.0160.00318.89
8.1.160.0140.00716.86
8.1.150.0130.00716.88
8.1.140.0150.00317.01
8.1.130.0160.00516.62
8.1.120.0210.00017.05
8.1.110.0140.00516.88
8.1.100.0120.00916.82
8.1.90.0120.00816.95
8.1.80.0110.00817.11
8.1.70.0120.00617.14
8.1.60.0190.00317.00
8.1.50.0130.01017.13
8.1.40.0200.00017.15
8.1.30.0170.00617.00
8.1.20.0130.00817.31
8.1.10.0160.00617.13
8.1.00.0180.00417.11
8.0.300.0140.00516.33
8.0.290.0150.00318.17
8.0.280.0160.00416.40
8.0.270.0160.00316.16
8.0.260.0170.00216.48
8.0.250.0110.00616.52
8.0.240.0130.00616.37
8.0.230.0170.00316.20
8.0.220.0140.00316.22
8.0.210.0150.00416.34
8.0.200.0130.00616.44
8.0.190.0100.01016.44
8.0.180.0140.00316.10
8.0.170.0130.00416.37
8.0.160.0100.00816.51
8.0.150.0140.00516.26
8.0.140.0130.00416.38
8.0.130.0110.00716.51
8.0.120.0140.00416.28
8.0.110.0110.00716.44
8.0.100.0130.00416.17
8.0.90.0140.00516.15
8.0.80.0130.00616.27
8.0.70.0070.01116.16
8.0.60.0180.00016.32
8.0.50.0130.00416.34
8.0.30.0110.00716.26
8.0.20.0140.00316.29
8.0.10.0090.00916.33
8.0.00.0110.00716.46
7.4.330.0130.00616.18
7.4.320.0120.00616.02
7.4.300.0140.00316.11
7.4.290.0180.00015.95
7.4.280.0100.00715.95
7.4.270.0110.00716.00
7.4.260.0170.00015.89
7.4.250.0140.00715.92
7.4.240.0050.01415.91
7.4.230.0090.00916.02
7.4.220.0140.00515.96
7.4.210.0140.00215.98
7.4.200.0120.00616.18
7.4.190.0170.00215.86
7.4.180.0130.01015.93
7.4.160.0200.00016.15
7.4.150.0110.00716.07
7.4.140.0110.00515.68
7.4.130.0080.00816.00
7.4.120.0150.00215.84
7.4.110.0180.00015.76
7.4.100.0090.00915.79
7.4.90.0120.00415.85
7.4.80.0130.00415.64
7.4.70.0130.00415.77
7.4.60.0180.00015.85
7.4.50.0160.00015.97
7.4.40.0110.00715.81
7.4.30.0060.01115.80
7.4.20.0130.00515.86
7.4.10.0130.00417.72
7.4.00.0130.00315.99
7.3.330.0100.00817.50
7.3.320.0080.00815.75
7.3.310.0170.00015.57
7.3.300.0180.00015.84
7.3.290.0140.00315.78
7.3.280.0080.01215.64
7.3.270.0130.00615.69
7.3.260.0090.00915.30
7.3.250.0200.00015.52
7.3.240.0180.00015.32
7.3.230.0200.00015.63
7.3.220.0210.00415.66
7.3.210.0140.00715.54
7.3.200.0200.00015.66
7.3.190.0190.00015.57
7.3.180.0200.00015.26
7.3.170.0160.00315.74
7.3.160.0220.00015.70
7.3.150.0130.00815.73
7.3.140.0140.00615.89
7.3.130.0200.00015.90
7.3.120.0140.00615.82
7.3.110.0140.00515.55
7.3.100.0180.00315.52
7.3.90.0120.00616.20
7.3.80.0180.00315.70
7.3.70.0150.00515.49
7.3.60.0210.00015.75
7.3.50.0190.00315.94
7.3.40.0200.00015.90
7.3.30.0140.00515.99
7.3.20.0100.01017.73
7.3.10.0150.00717.71
7.3.00.0210.00017.51
7.2.340.0160.00315.85
7.2.330.0170.00615.52
7.2.320.0140.00715.79
7.2.310.0200.00015.59
7.2.300.0110.00915.69
7.2.290.0140.00715.56
7.2.280.0190.00015.83
7.2.270.0180.00215.86
7.2.260.0130.00515.81
7.2.250.0120.00915.97
7.2.240.0180.00715.58
7.2.230.0200.00015.82
7.2.220.0170.00315.67
7.2.210.0190.00015.82
7.2.200.0160.00415.86
7.2.190.0120.00615.91
7.2.180.0190.00215.92
7.2.170.0190.00016.08
7.2.160.0160.00515.79
7.2.150.0170.00617.80
7.2.140.0180.00317.86
7.2.130.0160.00617.86
7.2.120.0140.00518.02
7.2.110.0140.00717.78
7.2.100.0150.00717.73
7.2.90.0220.00017.83
7.2.80.0170.00317.56
7.2.70.0210.00417.89
7.2.60.0200.00217.50
7.2.50.0160.00517.74
7.2.40.0120.00717.65
7.2.30.0140.00717.70
7.2.20.0120.00818.05
7.2.10.0220.00017.72
7.2.00.0200.00017.82
7.1.330.0040.01316.43
7.1.320.0200.00016.60
7.1.310.0170.00316.58
7.1.300.0180.00016.71
7.1.290.0160.00516.60
7.1.280.0160.00316.69
7.1.270.0170.00316.77
7.1.260.0160.00316.68
7.1.250.0170.00016.88
7.1.240.0140.00516.77
7.1.230.0100.00516.40
7.1.220.0080.00816.53
7.1.210.0110.00616.57
7.1.200.0100.00716.57
7.1.190.0080.00816.64
7.1.180.0170.00016.83
7.1.170.0180.00016.93
7.1.160.0140.00316.54
7.1.150.0160.00016.65
7.1.140.0170.00316.65
7.1.130.0120.00416.46
7.1.120.0140.00416.54
7.1.110.0070.00716.90
7.1.100.0140.00316.63
7.1.90.0150.00516.79
7.1.80.0160.00016.63
7.1.70.0110.00516.45
7.1.60.0130.00216.64
7.1.50.0130.00316.83
7.1.40.0140.00316.57
7.1.30.0180.00316.84
7.1.20.0100.00616.85
7.1.10.0170.00016.74
7.1.00.0180.00016.55
7.0.330.0140.00416.43
7.0.320.0060.01016.16
7.0.310.0080.00816.12
7.0.300.0130.00416.16
7.0.290.0100.00516.69
7.0.280.0090.00716.36
7.0.270.0160.00016.23
7.0.260.0040.01116.25
7.0.250.0080.00816.52
7.0.240.0070.00716.86
7.0.230.0120.00416.51
7.0.220.0170.00016.70
7.0.210.0120.00616.61
7.0.200.0120.00416.49
7.0.190.0150.00216.60
7.0.180.0170.00016.49
7.0.170.0150.00316.27
7.0.160.0130.00216.25
7.0.150.0080.00816.13
7.0.140.0170.00316.26
7.0.130.0120.00916.21
7.0.120.0120.00416.74
7.0.110.0100.00316.27
7.0.100.0140.00016.19
7.0.90.0170.00016.47
7.0.80.0080.00516.43
7.0.70.0170.00016.38
7.0.60.0080.00816.29
7.0.50.0150.00416.51
7.0.40.0080.00816.30
7.0.30.0110.00416.41
7.0.20.0120.00316.64
7.0.10.0120.00516.25
7.0.00.0100.00616.19
5.6.400.0180.00015.44
5.6.390.0080.00815.57
5.6.380.0140.00315.58
5.6.370.0130.00315.30
5.6.360.0090.00915.53
5.6.350.0040.01215.62
5.6.340.0110.00515.59
5.6.330.0140.00315.62
5.6.320.0140.00515.54
5.6.310.0100.00515.46
5.6.300.0150.00315.27
5.6.290.0100.00615.50
5.6.280.0130.00415.56
5.6.270.0120.00315.58
5.6.260.0140.00315.68
5.6.250.0170.00015.63
5.6.240.0060.02518.14
5.6.230.0090.04018.21
5.6.220.0060.02418.17
5.6.210.0070.02318.06
5.6.200.0110.02418.32
5.6.190.0140.04118.16
5.6.180.0120.03818.28
5.6.170.0080.04318.32
5.6.160.0090.04418.37
5.6.150.0140.04218.24
5.6.140.0130.03718.42
5.6.130.0070.04618.30
5.6.120.0080.03618.41
5.6.110.0130.03218.25
5.6.100.0110.02718.27
5.6.90.0100.05018.29
5.6.80.0110.04917.90
5.6.70.0080.03117.96
5.6.60.0110.02218.05
5.6.50.0070.04518.00
5.6.40.0110.04118.00
5.6.30.0070.02318.09
5.6.20.0130.04217.99
5.6.10.0080.03517.92
5.6.00.0100.02217.89
5.5.380.0110.02217.96
5.5.370.0110.02018.05
5.5.360.0130.03717.88
5.5.350.0100.02717.95
5.5.340.0070.04018.16
5.5.330.0110.02718.07
5.5.320.0110.02018.03
5.5.310.0090.02417.94
5.5.300.0100.04518.11
5.5.290.0140.04318.15
5.5.280.0050.04718.02
5.5.270.0070.04618.33
5.5.260.0080.03818.14
5.5.250.0050.04818.00
5.5.240.0120.03617.79
5.5.230.0150.02617.88
5.5.220.0060.03117.89
5.5.210.0110.04017.92
5.5.200.0100.03617.76
5.5.190.0060.04118.00
5.5.180.0130.04017.85
5.5.170.0080.00815.24
5.5.160.0090.03517.71
5.5.150.0110.03217.78
5.5.140.0150.03217.82
5.5.130.0140.03717.68
5.5.120.0090.02417.46
5.5.110.0080.02517.72
5.5.100.0120.03817.98
5.5.90.0080.03717.75
5.5.80.0090.02417.69
5.5.70.0070.04317.92
5.5.60.0100.02517.79
5.5.50.0100.02417.85
5.5.40.0090.02517.69
5.5.30.0150.02717.79
5.5.20.0090.02717.88
5.5.10.0080.02617.54
5.5.00.0130.03517.75
5.4.450.0080.02515.74
5.4.440.0130.03715.89
5.4.430.0100.04015.83
5.4.420.0090.03315.73
5.4.410.0090.04215.75
5.4.400.0090.03315.84
5.4.390.0060.02515.71
5.4.380.0070.04115.59
5.4.370.0100.02015.65
5.4.360.0090.02315.49
5.4.350.0080.03815.69
5.4.340.0100.02115.54
5.4.330.0100.00212.52
5.4.320.0090.02815.67
5.4.310.0090.03215.81
5.4.300.0070.02315.83
5.4.290.0080.02815.75
5.4.280.0110.02015.66
5.4.270.0060.02015.57
5.4.260.0030.02615.71
5.4.250.0090.03515.74
5.4.240.0070.02315.71
5.4.230.0060.03015.64
5.4.220.0040.02815.64
5.4.210.0070.03315.68
5.4.200.0110.02015.54
5.4.190.0060.04015.46
5.4.180.0130.03615.51
5.4.170.0130.03015.60
5.4.160.0120.02715.50
5.4.150.0040.04115.48
5.4.140.0050.04314.23
5.4.130.0130.02714.41
5.4.120.0070.02714.43
5.4.110.0040.04014.35
5.4.100.0080.03314.44
5.4.90.0090.03814.29
5.4.80.0030.02714.28
5.4.70.0110.03314.35
5.4.60.0090.02414.56
5.4.50.0110.02314.38
5.4.40.0080.03014.34
5.4.30.0100.03314.32
5.4.20.0030.02714.43
5.4.10.0100.03314.42
5.4.00.0070.02213.95
5.3.290.0180.03213.73
5.3.280.0060.02313.73
5.3.270.0090.03313.83
5.3.260.0080.03013.69
5.3.250.0110.02813.54
5.3.240.0030.02813.59
5.3.230.0040.02413.70
5.3.220.0090.01913.55
5.3.210.0060.04813.69
5.3.200.0070.04113.52
5.3.190.0080.02213.64
5.3.180.0030.04313.67
5.3.170.0080.02813.58
5.3.160.0070.04013.69
5.3.150.0080.03313.66
5.3.140.0140.03513.49
5.3.130.0110.03513.61
5.3.120.0090.01813.61
5.3.110.0100.04013.68
5.3.100.0080.01813.45
5.3.90.0080.02213.26
5.3.80.0000.04213.37
5.3.70.0020.04413.25
5.3.60.0070.02513.17
5.3.50.0130.03313.33
5.3.40.0040.02413.21
5.3.30.0060.02313.24
5.3.20.0000.02713.18
5.3.10.0080.03813.04
5.3.00.0100.03413.09
5.2.170.0100.02511.38
5.2.160.0060.02311.40
5.2.150.0050.02811.51
5.2.140.0100.01211.51
5.2.130.0060.01711.28
5.2.120.0040.01911.47
5.2.110.0090.02711.32
5.2.100.0060.03211.37
5.2.90.0000.03311.30
5.2.80.0050.03311.22
5.2.70.0060.01911.18
5.2.60.0070.01711.20
5.2.50.0080.03011.37
5.2.40.0030.03011.37
5.2.30.0070.03211.24
5.2.20.0040.03111.11
5.2.10.0060.01811.14
5.2.00.0100.01710.98
5.1.60.0080.01710.51
5.1.50.0020.01510.57
5.1.40.0020.01710.60
5.1.30.0060.01010.67
5.1.20.0030.01510.63
5.1.10.0060.01110.68
5.1.00.0030.01510.57
5.0.50.0040.01110.31
5.0.40.0030.01110.31
5.0.30.0020.01910.31
5.0.20.0040.01010.31
5.0.10.0020.01210.31
5.0.00.0070.01010.31
4.4.90.0000.01710.31
4.4.80.0020.01410.31
4.4.70.0020.01910.31
4.4.60.0030.01510.31
4.4.50.0020.01810.31
4.4.40.0040.01210.31
4.4.30.0020.00910.31
4.4.20.0020.00810.31
4.4.10.0040.00810.31
4.4.00.0050.01010.31
4.3.110.0040.00710.31
4.3.100.0040.00710.31
4.3.90.0020.00710.31
4.3.80.0000.01210.31
4.3.70.0020.00810.31
4.3.60.0020.00810.31
4.3.50.0040.00710.31
4.3.40.0000.01210.31
4.3.30.0050.00510.31
4.3.20.0000.01010.31
4.3.10.0020.01810.31
4.3.00.0020.01810.31

preferences:
158.97 ms | 1432 KiB | 7 Q