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::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.0070.01720.75
8.3.50.0100.01422.32
8.3.40.0000.01721.79
8.3.30.0150.00621.94
8.3.20.0090.00023.47
8.3.10.0060.00326.78
8.3.00.0070.00323.13
8.2.180.0190.00622.54
8.2.170.0070.01022.96
8.2.160.0040.01225.18
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00321.63
8.2.110.0070.00425.49
8.2.100.0040.01021.78
8.2.90.0090.00022.24
8.2.80.0070.00321.63
8.2.70.0050.00521.25
8.2.60.0030.00621.68
8.2.50.0050.00521.50
8.2.40.0060.00323.21
8.2.30.0000.00823.68
8.2.20.0030.00621.65
8.2.10.0090.00022.07
8.2.00.0090.00022.06
8.1.280.0140.01025.92
8.1.270.0030.00626.98
8.1.260.0090.00026.35
8.1.250.0090.00028.09
8.1.240.0040.00825.20
8.1.230.0100.00324.89
8.1.220.0070.00321.76
8.1.210.0050.00521.38
8.1.200.0030.00721.25
8.1.190.0090.00021.23
8.1.180.0070.00321.15
8.1.170.0000.00922.50
8.1.160.0060.00325.21
8.1.150.0030.00621.95
8.1.140.0060.00323.52
8.1.130.0090.00021.79
8.1.120.0030.00621.30
8.1.110.0030.00621.33
8.1.100.0000.00821.56
8.1.90.0050.00321.52
8.1.80.0000.00821.26
8.1.70.0080.00021.55
8.1.60.0060.00321.68
8.1.50.0030.00621.57
8.1.40.0040.01121.46
8.1.30.0030.00621.81
8.1.20.0060.00321.76
8.1.10.0060.00321.48
8.1.00.0000.00921.44
8.0.300.0100.00020.79
8.0.290.0040.00420.63
8.0.280.0000.00821.48
8.0.270.0000.00921.25
8.0.260.0030.00621.27
8.0.250.0090.00020.94
8.0.240.0030.00620.77
8.0.230.0060.00320.86
8.0.220.0000.00920.78
8.0.210.0040.00420.90
8.0.200.0000.00920.75
8.0.190.0030.00620.68
8.0.180.0030.00620.89
8.0.170.0000.00920.90
8.0.160.0030.00620.68
8.0.150.0030.00620.65
8.0.140.0040.00420.65
8.0.130.0000.00513.37
8.0.120.0060.00320.79
8.0.110.0060.00320.88
8.0.100.0030.00721.00
8.0.90.0060.00320.68
8.0.80.0030.01421.15
8.0.70.0030.00621.19
8.0.60.0090.00021.08
8.0.50.0030.00621.21
8.0.30.0110.00821.13
8.0.20.0120.00921.37
8.0.10.0060.00321.10
8.0.00.0090.01220.79
7.4.330.0050.00015.08
7.4.320.0040.00420.65
7.4.300.0040.00420.53
7.4.290.0040.00420.56
7.4.280.0000.00920.73
7.4.270.0040.00420.36
7.4.260.0030.00620.62
7.4.250.0030.00620.50
7.4.240.0010.00720.54
7.4.230.0060.00320.49
7.4.220.0120.00920.66
7.4.210.0090.00920.69
7.4.200.0090.00020.50
7.4.160.0030.01420.57
7.4.150.0110.01120.34
7.4.140.0160.01020.58
7.4.130.0090.01120.54
7.4.120.0080.01420.53
7.4.110.0130.01320.58
7.4.100.0060.01920.63
7.4.90.0090.01620.32
7.4.80.0130.01020.57
7.4.70.0130.00720.45
7.4.60.0100.00720.32
7.4.50.0000.01020.17
7.4.40.0050.01420.58
7.4.30.0090.01820.50
7.4.00.0030.01619.05
7.3.330.0020.00213.12
7.3.320.0030.00313.16
7.3.310.0000.00820.52
7.3.300.0060.00320.38
7.3.290.0080.00820.16
7.3.280.0140.00720.15
7.3.270.0040.01520.67
7.3.260.0100.01020.25
7.3.250.0100.01020.57
7.3.240.0100.01420.54
7.3.230.0110.00720.54
7.3.210.0100.01020.51
7.3.200.0070.01120.54
7.3.190.0060.01320.66
7.3.180.0040.01920.22
7.3.170.0080.01220.33
7.3.160.0000.01920.43
7.3.00.0100.00720.06
7.2.330.0060.02220.34
7.2.320.0100.01120.68
7.2.310.0090.01220.24
7.2.300.0160.01020.60
7.2.290.0060.01220.72
7.2.130.0030.01320.40
7.2.120.0040.01120.53
7.2.110.0030.01420.55
7.2.100.0100.00720.54
7.2.90.0070.00420.56
7.2.80.0080.00420.64
7.2.70.0100.01020.57
7.2.60.0080.00820.68
7.2.50.0030.01020.40
7.2.40.0070.01020.49
7.2.30.0130.00020.54
7.2.20.0060.01020.83
7.2.10.0040.01120.29
7.2.00.0060.01122.22
7.1.250.0080.00619.52
7.1.240.0040.01119.48
7.1.230.0070.00319.52
7.1.220.0120.00019.58
7.1.210.0110.00719.41
7.1.200.0050.01019.63
7.1.190.0060.00619.56
7.1.180.0130.00319.34
7.1.170.0030.01319.43
7.1.160.0070.00719.55
7.1.150.0100.00619.84
7.1.140.0100.00719.30
7.1.130.0100.00319.88
7.1.120.0040.00719.87
7.1.110.0030.00919.63
7.1.100.0040.00920.73
7.1.90.0000.01619.68
7.1.80.0120.00319.84
7.1.70.0070.00520.33
7.1.60.0050.01420.58
7.1.50.0070.01220.54
7.1.40.0060.00619.84
7.1.30.0000.01419.61
7.1.20.0090.00619.50
7.1.10.0040.01219.44
7.1.00.0020.04623.10
7.0.330.0000.01219.16
7.0.320.0040.01119.52
7.0.310.0100.00719.54
7.0.300.0050.00519.32
7.0.290.0040.01119.16
7.0.280.0100.00619.43
7.0.270.0130.00319.36
7.0.260.0130.00319.53
7.0.250.0090.00619.36
7.0.240.0070.00719.35
7.0.230.0070.00719.59
7.0.220.0090.00019.46
7.0.210.0080.00419.57
7.0.200.0100.00719.04
7.0.190.0090.00619.36
7.0.180.0060.00619.45
7.0.170.0030.01419.49
7.0.160.0000.01419.29
7.0.150.0110.00419.57
7.0.140.0080.00419.37
7.0.130.0120.00019.32
7.0.120.0100.00719.54
7.0.110.0060.00919.45
7.0.100.0000.01219.61
7.0.90.0090.00619.15
7.0.80.0060.00619.46
7.0.70.0110.00419.49
7.0.60.0070.04721.50
7.0.50.0030.03118.54
7.0.40.0090.04420.65
7.0.30.0200.02920.50
7.0.20.0210.04120.66
7.0.10.0110.04020.62
7.0.00.0080.03320.61
5.6.380.0000.01418.25
5.6.370.0070.01018.11
5.6.360.0080.00818.42
5.6.350.0160.00018.39
5.6.340.0100.00718.23
5.6.330.0000.01318.35
5.6.320.0040.00818.68
5.6.310.0100.00318.06
5.6.300.0060.00617.89
5.6.290.0060.00617.95
5.6.280.0080.03321.48
5.6.270.0080.01117.83
5.6.260.0030.01018.12
5.6.250.0060.01218.00
5.6.240.0040.00417.88
5.6.230.0030.01017.86
5.6.220.0080.00518.21
5.6.210.0110.03221.32
5.6.200.0040.04718.14
5.6.190.0080.03021.21
5.6.180.0200.02221.15
5.6.170.0150.02821.07
5.6.160.0060.03421.13
5.6.150.0100.03018.21
5.6.140.0050.02418.13
5.6.130.0080.03518.23
5.6.120.0140.04121.66
5.6.110.0070.04721.66
5.6.100.0140.03721.58
5.6.90.0050.04921.57
5.6.80.0120.04021.18
5.6.70.0030.01318.17
5.6.60.0060.00918.17
5.6.50.0040.01218.33
5.6.40.0090.00618.17
5.6.30.0040.01218.10
5.6.20.0060.00917.87
5.6.10.0070.01018.22
5.6.00.0040.01118.16
5.5.380.0080.00310.90
5.5.370.0030.00910.90
5.5.360.0080.00410.90
5.5.350.0180.03817.65
5.5.340.0020.03014.40
5.5.330.0050.04617.38
5.5.320.0130.03217.63
5.5.310.0070.02617.41
5.5.300.0030.02214.49
5.5.290.0120.03214.43
5.5.280.0030.04617.86
5.5.270.0070.03217.80
5.5.260.0130.03317.86
5.5.250.0050.04417.72
5.5.240.0080.02517.51
5.5.230.0070.00010.90
5.5.220.0000.01110.90
5.5.210.0000.01110.90
5.5.200.0040.00410.90
5.5.190.0060.00010.90
5.5.180.0030.00710.90
5.5.170.0060.00610.90
5.5.160.0060.00610.93
5.5.150.0000.00910.90
5.5.140.0050.00210.90
5.5.130.0000.00910.90
5.5.120.0000.01210.90
5.5.110.0090.00310.90
5.5.100.0080.00310.90
5.5.90.0030.00710.90
5.5.80.0060.00610.90
5.5.70.0040.00410.90
5.5.60.0090.00010.90
5.5.50.0060.00610.90
5.5.40.0030.00310.90
5.5.30.0070.00410.90
5.5.20.0000.01210.90
5.5.10.0060.00310.90
5.5.00.0030.00911.01
5.4.450.0400.03516.80
5.4.440.0430.03717.00
5.4.430.0480.02816.94
5.4.420.0320.02916.98
5.4.410.0330.02517.03
5.4.400.0340.02716.73
5.4.390.0360.04216.73
5.4.380.0310.03416.84
5.4.370.0450.03316.72
5.4.360.0330.03516.78
5.4.350.0360.03516.93
5.4.340.0420.04016.77
5.4.330.0000.00510.90
5.4.320.0350.04316.72
5.4.310.0410.04016.73
5.4.300.0410.04016.93
5.4.290.0320.03016.71
5.4.280.0320.03316.91
5.4.270.0370.03116.83
5.4.260.0280.03316.83
5.4.250.0250.03516.92
5.4.240.0380.03016.84
5.4.230.0460.03116.83
5.4.220.0350.03016.71
5.4.210.0360.03216.63
5.4.200.0250.03716.77
5.4.190.0320.04716.81
5.4.180.0300.03116.82
5.4.170.0350.03516.72
5.4.160.0440.02816.72
5.4.150.0360.02816.71
5.4.140.0450.02315.45
5.4.130.0330.03115.37
5.4.120.0490.02015.41
5.4.110.0240.03015.46
5.4.100.0120.03315.47
5.4.90.0050.04215.45
5.4.80.0080.03815.59
5.4.70.0380.03215.35
5.4.60.0420.03515.50
5.4.50.0380.03515.46
5.4.40.0300.03015.38
5.4.30.0330.03515.42
5.4.20.0290.03015.50
5.4.10.0260.03315.38
5.4.00.0370.02815.15

preferences:
60.51 ms | 400 KiB | 5 Q