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); Locale::setDefault('en_GB'); $fmt = new IntlDateFormatter( Locale::getDefault(), IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Formatted output is ' . $fmt->format(0);

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.0140.01421.00
8.3.50.0150.01124.23
8.3.40.0070.01021.79
8.3.30.0070.01021.61
8.3.20.0060.00323.64
8.3.10.0000.00926.91
8.3.00.0090.00023.26
8.2.180.0100.01022.53
8.2.170.0100.00722.96
8.2.160.0130.00325.38
8.2.150.0100.00024.18
8.2.140.0000.00924.66
8.2.130.0000.00826.16
8.2.120.0050.00521.38
8.2.110.0100.00325.33
8.2.100.0100.00322.04
8.2.90.0030.00622.52
8.2.80.0090.00621.50
8.2.70.0030.00721.63
8.2.60.0030.00622.05
8.2.50.0090.00021.50
8.2.40.0040.00423.25
8.2.30.0080.00023.81
8.2.20.0060.00321.74
8.2.10.0000.00923.91
8.2.00.0000.01021.87
8.1.280.0200.00325.92
8.1.270.0050.00527.07
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00325.70
8.1.230.0120.00021.66
8.1.220.0040.00721.66
8.1.210.0030.00621.48
8.1.200.0050.00521.23
8.1.190.0000.00920.98
8.1.180.0030.00621.53
8.1.170.0000.00922.84
8.1.160.0000.01125.12
8.1.150.0080.00021.94
8.1.140.0060.00323.34
8.1.130.0040.00421.69
8.1.120.0050.00521.39
8.1.110.0000.00821.33
8.1.100.0040.00421.49
8.1.90.0040.00421.49
8.1.80.0050.00521.28
8.1.70.0050.00321.46
8.1.60.0030.00621.46
8.1.50.0000.00921.40
8.1.40.0170.00721.58
8.1.30.0070.00321.77
8.1.20.0090.00321.29
8.1.10.0060.00321.41
8.1.00.0070.00421.32
8.0.300.0060.00320.97
8.0.290.0040.00720.75
8.0.280.0000.00921.52
8.0.270.0090.00021.26
8.0.260.0040.00421.25
8.0.250.0030.00620.98
8.0.240.0060.00320.80
8.0.230.0030.00620.67
8.0.220.0030.00620.74
8.0.210.0030.00620.93
8.0.200.0030.00721.05
8.0.190.0070.00420.74
8.0.180.0090.00020.77
8.0.170.0050.00520.86
8.0.160.0060.00320.83
8.0.150.0080.00020.63
8.0.140.0050.00520.65
8.0.130.0050.00013.28
8.0.120.0030.00720.70
8.0.110.0060.00321.02
8.0.100.0030.00621.11
8.0.90.0050.00520.63
8.0.80.0090.00920.84
8.0.70.0040.00420.91
8.0.60.0100.00020.45
8.0.50.0090.00021.03
8.0.30.0160.00821.20
8.0.20.0100.01221.07
8.0.10.0030.00621.24
8.0.00.0100.00920.72
7.4.330.0000.00615.08
7.4.320.0070.00020.63
7.4.300.0000.00720.52
7.4.290.0040.00420.46
7.4.280.0060.00620.61
7.4.270.0030.00620.37
7.4.260.0050.00320.61
7.4.250.0110.00020.64
7.4.240.0030.00620.49
7.4.230.0050.00320.57
7.4.220.0170.01420.38
7.4.210.0040.01820.60
7.4.200.0040.00420.63
7.4.160.0140.01420.51
7.4.150.0110.00820.43
7.4.140.0100.01120.54
7.4.130.0130.01220.36
7.4.120.0090.01520.55
7.4.110.0140.00720.49
7.4.100.0160.01020.45
7.4.90.0080.01320.43
7.4.80.0090.01220.68
7.4.70.0170.01020.43
7.4.60.0100.01020.37
7.4.50.0000.00920.53
7.4.40.0120.00920.54
7.4.30.0160.00920.46
7.4.00.0060.01218.87
7.3.330.0000.00513.04
7.3.320.0050.00013.11
7.3.310.0000.00920.30
7.3.300.0040.00420.22
7.3.290.0090.01220.29
7.3.280.0070.01220.06
7.3.270.0100.01320.07
7.3.260.0170.00620.71
7.3.250.0120.00820.57
7.3.240.0100.01520.77
7.3.230.0120.00620.12
7.3.210.0140.00820.34
7.3.200.0140.00620.68
7.3.190.0130.00720.84
7.3.180.0110.00720.36
7.3.170.0030.02020.37
7.3.160.0170.01020.35
7.2.330.0150.00720.56
7.2.320.0100.01720.76
7.2.310.0100.01120.78
7.2.300.0140.01420.57
7.2.290.0160.01020.72
7.2.60.0040.01120.36
7.2.00.0060.01223.74
7.1.200.0000.01419.69
7.1.100.0050.00522.31
7.1.70.0000.00921.39
7.1.60.0110.01821.25
7.1.50.0070.01621.32
7.1.00.0030.08026.70
7.0.200.0140.00718.90
7.0.60.0070.08324.01
7.0.50.0170.05717.83
7.0.40.0130.04024.07
7.0.30.0230.05023.91
7.0.20.0270.05023.78
7.0.10.0200.07723.77
7.0.00.0070.05023.69
5.6.280.0070.06724.90
5.6.210.0000.06324.64
5.6.200.0030.05318.22
5.6.190.0070.08324.19
5.6.180.0470.07024.18
5.6.170.0330.07724.22
5.6.160.0170.05324.04
5.6.150.0070.03718.23
5.6.140.0070.08018.21
5.6.130.0100.06718.15
5.6.120.0070.08724.88
5.6.110.0170.07724.82
5.6.100.0030.04025.00
5.6.90.0100.06325.07
5.6.80.0030.04024.29
5.5.350.0270.08324.16
5.5.340.0030.04017.96
5.5.330.0000.09023.97
5.5.320.0300.07323.81
5.5.310.0270.08024.31
5.5.300.0030.04317.91
5.5.290.0130.05017.92
5.5.280.0070.05324.73
5.5.270.0130.04024.69
5.5.260.0000.04324.47
5.5.250.0130.04324.65
5.5.240.0100.06724.12
5.4.450.0230.04722.89
5.4.440.0230.08023.23
5.4.430.0330.06323.22
5.4.420.0200.07323.02
5.4.410.0170.07722.90
5.4.400.0330.04022.41
5.4.390.0200.07722.52
5.4.380.0300.06722.61
5.4.370.0200.04722.37
5.4.360.0330.06722.60
5.4.350.0300.04722.69
5.4.340.0270.06322.37
5.4.320.0170.05722.73
5.4.310.0230.07322.70
5.4.300.0200.04722.40
5.4.290.0200.04722.55
5.4.280.0270.07722.55
5.4.270.0230.06322.90
5.4.260.0170.04322.72
5.4.250.0370.06022.75
5.4.240.0270.04322.46
5.4.230.0230.07722.45
5.4.220.0200.07722.87
5.4.210.0270.05322.59
5.4.200.0200.08322.60
5.4.190.0330.06722.49
5.4.180.0200.07722.36
5.4.170.0200.04322.69
5.4.160.0200.05722.36
5.4.150.0200.06722.48
5.4.140.0200.04319.94
5.4.130.0270.05319.79
5.4.120.0230.07319.66
5.4.110.0230.03319.99
5.4.100.0230.07319.77
5.4.90.0300.05719.98

preferences:
61.39 ms | 401 KiB | 5 Q