3v4l.org

run code in 300+ PHP versions simultaneously
<?php Locale::setDefault('no_NO'); $fmt = new IntlDateFormatter( Locale::getDefault(), IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Formatted output is ' . $fmt->format(0)."\n"; Locale::setDefault('en_GB'); $fmt = new IntlDateFormatter( Locale::getDefault(), IntlDateFormatter::MEDIUM , IntlDateFormatter::MEDIUM , 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Formatted output is ' . $fmt->format(1446040313)."\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.70.0140.00722.43
8.3.60.0140.01120.75
8.3.50.0190.00524.00
8.3.40.0140.00721.47
8.3.30.0060.01021.84
8.3.20.0070.00323.18
8.3.10.0030.00626.83
8.3.00.0060.00323.13
8.2.190.0170.00320.63
8.2.180.0140.00620.50
8.2.170.0130.00322.96
8.2.160.0090.00625.08
8.2.150.0030.00624.18
8.2.140.0000.00925.26
8.2.130.0050.00526.16
8.2.120.0060.00321.47
8.2.110.0110.00023.09
8.2.100.0070.00721.59
8.2.90.0060.00322.41
8.2.80.0090.00321.12
8.2.70.0070.00721.34
8.2.60.0030.00721.93
8.2.50.0130.00321.50
8.2.40.0060.00323.09
8.2.30.0030.00623.75
8.2.20.0060.00321.52
8.2.10.0030.00621.89
8.2.00.0030.00621.80
8.1.280.0170.00325.92
8.1.270.0060.00326.96
8.1.260.0050.00526.35
8.1.250.0060.00328.09
8.1.240.0170.00726.54
8.1.230.0030.01021.58
8.1.220.0030.00621.53
8.1.210.0070.00421.23
8.1.200.0030.01021.13
8.1.190.0040.00720.98
8.1.180.0060.00320.97
8.1.170.0080.00022.84
8.1.160.0030.00625.06
8.1.150.0030.00621.81
8.1.140.0070.00323.31
8.1.130.0030.00521.53
8.1.120.0000.00821.32
8.1.110.0050.00621.42
8.1.100.0030.00621.23
8.1.90.0030.00621.31
8.1.80.0060.00320.98
8.1.70.0030.00521.35
8.1.60.0000.01021.27
8.1.50.0070.00321.32
8.1.40.0060.00621.27
8.1.30.0030.00621.20
8.1.20.0000.00921.62
8.1.10.0060.00321.32
8.1.00.0000.00921.22
8.0.300.0060.00320.60
8.0.290.0100.00520.38
8.0.280.0000.00821.45
8.0.270.0060.00321.18
8.0.260.0000.00821.19
8.0.250.0000.00920.80
8.0.240.0030.00620.62
8.0.230.0000.00820.63
8.0.220.0030.00720.72
8.0.210.0030.00620.63
8.0.200.0000.00820.70
8.0.190.0030.00620.77
8.0.180.0030.00620.66
8.0.170.0040.00420.84
8.0.160.0040.00420.74
8.0.150.0030.00520.54
8.0.140.0030.00620.68
8.0.130.0000.00513.36
8.0.120.0060.00320.67
8.0.110.0090.00021.10
8.0.100.0060.00320.39
8.0.90.0090.00020.40
8.0.80.0030.01721.12
8.0.70.0040.00421.05
8.0.60.0080.00020.97
8.0.50.0030.00620.91
8.0.30.0060.01421.23
8.0.20.0070.01420.95
8.0.10.0030.00620.96
8.0.00.0090.01120.79
7.4.330.0000.00515.08
7.4.320.0000.00720.41
7.4.300.0040.00420.56
7.4.290.0060.00320.44
7.4.280.0030.00620.61
7.4.270.0030.00520.48
7.4.260.0000.00820.23
7.4.250.0030.00620.49
7.4.240.0070.00220.61
7.4.230.0000.00820.27
7.4.220.0000.02020.48
7.4.210.0100.00720.50
7.4.200.0000.00820.61
7.4.160.0080.01120.28
7.4.150.0080.01120.45
7.4.140.0070.01320.48
7.4.130.0080.01220.41
7.4.120.0080.01220.40
7.4.110.0100.01420.52
7.4.100.0160.00920.42
7.4.90.0100.01020.34
7.4.80.0060.01420.20
7.4.70.0090.01520.25
7.4.60.0130.00720.50
7.4.50.0060.00320.32
7.4.40.0040.01520.14
7.4.30.0070.01820.44
7.4.00.0060.01218.70
7.3.330.0030.00313.26
7.3.320.0000.00513.16
7.3.310.0060.00320.29
7.3.300.0060.00319.91
7.3.290.0070.01120.35
7.3.280.0130.00920.33
7.3.270.0170.00720.71
7.3.260.0140.00620.79
7.3.250.0110.00820.56
7.3.240.0100.01420.54
7.3.230.0090.01219.85
7.3.210.0120.00620.33
7.3.200.0120.00620.31
7.3.190.0070.01420.60
7.3.180.0060.01420.42
7.3.170.0170.01220.45
7.3.160.0120.00620.32
7.2.330.0110.01120.56
7.2.320.0100.01020.65
7.2.310.0120.01220.64
7.2.300.0140.00620.38
7.2.290.0140.00720.41
7.2.60.0060.00920.67
7.2.00.0030.01223.68
7.1.200.0060.00619.53
7.1.100.0000.01122.01
7.1.70.0060.00321.13
7.1.60.0030.02421.32
7.1.50.0100.01320.92
7.1.00.0000.07726.37
7.0.200.0130.00318.99
7.0.60.0030.06023.96
7.0.50.0130.07017.85
7.0.40.0130.08023.78
7.0.30.0330.07023.68
7.0.20.0300.07024.05
7.0.10.0100.08023.78
7.0.00.0070.09323.93
5.6.280.0000.03725.15
5.6.210.0130.07724.57
5.6.200.0070.08018.12
5.6.190.0070.06724.17
5.6.180.0200.05024.14
5.6.170.0300.08024.16
5.6.160.0030.06024.04
5.6.150.0100.07018.24
5.6.140.0070.04018.21
5.6.130.0100.04718.11
5.6.120.0030.04725.08
5.6.110.0130.08324.97
5.6.100.0130.06324.87
5.6.90.0170.07324.79
5.6.80.0130.07724.09
5.5.350.0270.07324.55
5.5.340.0000.04017.97
5.5.330.0030.08023.87
5.5.320.0370.04724.04
5.5.310.0270.08723.78
5.5.300.0000.04717.88
5.5.290.0100.06017.87
5.5.280.0030.04724.93
5.5.270.0070.09024.67
5.5.260.0000.06724.64
5.5.250.0170.08024.59
5.5.240.0030.08023.99
5.4.450.0570.06322.82
5.4.440.0630.06322.81
5.4.430.0800.06322.98
5.4.420.0630.05023.02
5.4.410.0530.05722.63
5.4.400.0300.05722.81
5.4.390.0170.07022.69
5.4.380.0600.07322.83
5.4.370.0630.05022.83
5.4.360.0600.04722.83
5.4.350.0570.08022.49
5.4.340.0570.07322.40
5.4.320.0570.07022.80
5.4.310.0630.07022.75
5.4.300.0530.05322.61
5.4.290.0400.06022.49
5.4.280.0500.06722.37
5.4.270.0600.06322.49
5.4.260.0430.06022.31
5.4.250.0700.06722.31
5.4.240.0570.05022.42
5.4.230.0630.06722.82
5.4.220.0570.07022.60
5.4.210.0430.06722.42
5.4.200.0400.06022.42
5.4.190.0600.05022.69
5.4.180.0170.05022.68
5.4.170.0400.05722.41
5.4.160.0530.05022.40
5.4.150.0500.06322.61
5.4.140.0470.05319.87
5.4.130.0330.05319.88
5.4.120.0470.04719.66
5.4.110.0500.05020.00
5.4.100.0570.04019.73
5.4.90.0470.06019.75
5.4.80.0430.04719.98
5.4.70.0530.04720.01
5.4.60.0330.05319.89
5.4.50.0570.05719.93
5.4.40.0470.04320.00
5.4.30.0470.04719.92
5.4.20.0500.04320.18
5.4.10.0430.05719.92
5.4.00.0570.05319.38

preferences:
45.49 ms | 401 KiB | 5 Q