3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new IntlDateFormatter( "en_US" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN ); echo "First Formatted output is ".$fmt->format(0); $fmt = new IntlDateFormatter( "de-DE" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN ); echo "Second Formatted output is ".$fmt->format(0); $fmt = new IntlDateFormatter( "en_US" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN ,"MM/dd/yyyy"); echo "First Formatted output with pattern is ".$fmt->format(0); $fmt = new IntlDateFormatter( "de-DE" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN , "MM/dd/yyyy"); echo "Second Formatted output with pattern 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.01022.43
8.3.50.0120.01423.34
8.3.40.0170.00321.90
8.3.30.0030.01322.05
8.3.20.0040.00423.21
8.3.10.0090.00025.08
8.3.00.0030.00626.15
8.2.180.0140.00921.13
8.2.170.0070.01022.96
8.2.160.0090.00922.09
8.2.150.0030.00624.18
8.2.140.0060.00324.66
8.2.130.0100.00026.16
8.2.120.0180.00322.98
8.2.110.0100.00023.35
8.2.100.0150.00021.53
8.2.90.0070.00322.17
8.2.80.0000.00921.38
8.2.70.0100.00321.13
8.2.60.0050.00521.68
8.2.50.0110.00021.13
8.2.40.0110.00021.97
8.2.30.0100.00021.82
8.2.20.0060.00321.56
8.2.10.0030.00821.41
8.2.00.0000.01021.40
8.1.280.0230.00625.92
8.1.270.0070.00425.00
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0070.00424.77
8.1.230.0080.00421.39
8.1.220.0000.01021.52
8.1.210.0000.00921.11
8.1.200.0090.00521.10
8.1.190.0000.00921.16
8.1.180.0060.00623.15
8.1.170.0000.01022.39
8.1.160.0050.00525.11
8.1.150.0170.00321.63
8.1.140.0000.00921.19
8.1.130.0020.00721.57
8.1.120.0050.00521.23
8.1.110.0030.00621.34
8.1.100.0030.00621.05
8.1.90.0060.00321.11
8.1.80.0050.00521.37
8.1.70.0060.00321.14
8.1.60.0090.00921.16
8.1.50.0030.00621.12
8.1.40.0060.00321.34
8.1.30.0040.00421.65
8.1.20.0100.00021.57
8.1.10.0050.00521.43
8.1.00.0030.00921.15
8.0.300.0100.00020.72
8.0.290.0030.00820.38
8.0.280.0030.00621.48
8.0.270.0000.01021.14
8.0.260.0050.00320.60
8.0.250.0070.00220.93
8.0.240.0040.00820.68
8.0.230.0040.00420.95
8.0.220.0000.00820.93
8.0.210.0000.00820.77
8.0.200.0060.00320.82
8.0.190.0110.00820.81
8.0.180.0030.00620.89
8.0.170.0060.00320.79
8.0.160.0060.00320.69
8.0.150.0060.00620.38
8.0.140.0000.00820.68
8.0.130.0030.00313.28
8.0.120.0030.00620.76
8.0.110.0030.00620.88
8.0.100.0030.00620.44
8.0.90.0000.00820.71
8.0.80.0100.01320.80
8.0.70.0060.00320.42
8.0.60.0090.00020.88
8.0.50.0030.00620.77
8.0.30.0090.01321.00
8.0.20.0100.01020.95
8.0.10.0090.00021.02
8.0.00.0140.01520.64
7.4.330.0030.00315.00
7.4.320.0110.00020.39
7.4.300.0040.00420.42
7.4.290.0090.00320.25
7.4.280.0220.00620.50
7.4.270.0000.00820.66
7.4.260.0090.00320.47
7.4.250.0070.00420.39
7.4.240.0040.00520.61
7.4.230.0080.00020.68
7.4.220.0150.00620.54
7.4.210.0080.01120.53
7.4.200.0090.00020.61
7.4.190.0000.00920.51
7.4.160.0150.00320.28
7.4.150.0170.00320.52
7.4.140.0080.01120.27
7.4.130.0120.01620.31
7.4.120.0140.01020.39
7.4.110.0310.01020.29
7.4.100.0150.01220.50
7.4.90.0200.00720.60
7.4.80.0160.00320.29
7.4.70.0100.01020.21
7.4.60.0040.01520.52
7.4.50.0000.01020.43
7.4.40.0100.00322.77
7.4.30.0110.00820.31
7.4.00.0070.01118.84
7.3.330.0090.00013.27
7.3.320.0020.00213.02
7.3.310.0030.00520.06
7.3.300.0040.00419.86
7.3.290.0210.01020.02
7.3.280.0090.00920.22
7.3.270.0090.01020.47
7.3.260.0100.01120.44
7.3.250.0130.01120.32
7.3.240.0120.01220.15
7.3.230.0310.01020.32
7.3.210.0090.01220.13
7.3.200.0070.01720.35
7.3.190.0150.00320.37
7.3.180.0060.01420.40
7.3.170.0100.01420.18
7.3.160.0130.00720.48
7.3.120.0030.01018.54
7.2.330.0070.01520.34
7.2.320.0270.00320.52
7.2.310.0030.01720.40
7.2.300.0130.00720.55
7.2.290.0120.00920.57
7.2.00.0230.01223.42
7.1.100.0090.00921.79
7.1.70.0090.00920.86
7.1.60.0090.01921.53
7.1.50.0070.02021.06
7.1.00.0070.07026.47
7.0.200.0090.00920.70
7.0.140.0100.07026.15
7.0.110.0030.04323.89
7.0.100.0130.06323.96
7.0.90.0000.08323.84
7.0.80.0130.07323.63
7.0.70.0070.05324.08
7.0.60.0100.04323.82
7.0.50.0100.08023.80
7.0.40.0100.08023.66
7.0.30.0170.08023.64
7.0.20.0170.06023.53
7.0.10.0070.07723.74
7.0.00.0000.09023.48
5.6.280.0070.07325.05
5.6.260.0170.05724.48
5.6.250.0170.08024.23
5.6.240.0030.04724.60
5.6.230.0070.08324.84
5.6.220.0070.04324.57
5.6.210.0070.06024.29
5.6.200.0100.05024.55
5.6.190.0000.05024.52
5.6.180.0070.08724.58
5.6.170.0070.04324.44
5.6.160.0130.06724.30
5.6.150.0030.05324.41
5.6.140.0130.03724.20
5.6.130.0030.07324.52
5.6.120.0070.08324.44
5.6.110.0070.04724.57
5.6.100.0130.04724.55
5.6.90.0130.05324.62
5.6.80.0070.08024.01
5.6.70.0070.05323.89
5.6.60.0100.06023.91
5.6.50.0030.05323.93
5.6.40.0130.07323.93
5.6.30.0100.04323.77
5.6.20.0170.06723.80
5.6.10.0070.08323.75
5.6.00.0030.05323.88
5.5.380.0070.06317.62
5.5.370.0030.06717.63
5.5.360.0000.04717.51
5.5.350.0070.04317.75
5.5.340.0030.07717.84
5.5.330.0030.05317.87
5.5.320.0100.03317.87
5.5.310.0030.04318.16
5.5.300.0130.06718.11
5.5.290.0070.08317.87
5.5.280.0170.06318.02
5.5.270.0130.04717.85
5.5.260.0130.08717.88
5.5.250.0070.04717.84
5.5.240.0070.07017.23
5.5.230.0070.04717.38
5.5.220.0030.04317.24
5.5.210.0070.08717.53
5.5.200.0070.06717.36
5.5.190.0070.04717.21
5.5.180.0100.04017.60
5.5.160.0070.08017.23
5.5.150.0070.07017.11
5.5.140.0100.03717.21
5.5.130.0070.04317.37
5.5.120.0030.05317.45
5.5.110.0030.04017.23
5.5.100.0000.03717.13
5.5.90.0070.03017.11
5.5.80.0000.03717.10
5.5.70.0030.03717.01
5.5.60.0000.04017.34
5.5.50.0070.03317.26
5.5.40.0070.03317.36
5.5.30.0000.04017.10
5.5.20.0000.03317.25
5.5.10.0030.03717.10
5.5.00.0070.02717.40
5.4.450.0170.08722.65
5.4.440.0100.07022.94
5.4.430.0070.04722.82
5.4.420.0070.08023.02
5.4.410.0030.04722.86
5.4.400.0130.06722.42
5.4.390.0130.06722.76
5.4.380.0070.07722.70
5.4.370.0070.08022.55
5.4.360.0070.04322.50
5.4.350.0030.07322.59
5.4.340.0130.03322.61
5.4.320.0170.06322.76
5.4.310.0030.06722.75
5.4.300.0100.07722.70
5.4.290.0070.06322.74
5.4.280.0030.04722.78
5.4.270.0100.06722.77
5.4.260.0030.03722.75
5.4.250.0030.04022.32
5.4.240.0030.04322.32
5.4.230.0030.03722.41
5.4.220.0130.03322.54
5.4.210.0000.06022.30
5.4.200.0070.03322.43
5.4.190.0000.04322.68
5.4.180.0030.03022.57
5.4.170.0070.03722.48
5.4.160.0030.03722.55
5.4.150.0030.05322.73
5.4.140.0070.04719.55
5.4.130.0100.07019.68
5.4.120.0030.05019.61
5.4.110.0130.07019.88
5.4.100.0130.03319.79
5.4.90.0100.03319.72
5.4.80.0100.05319.86
5.4.70.0070.03319.87
5.4.60.0030.04319.72
5.4.50.0000.04319.86
5.4.40.0030.03720.16
5.4.30.0030.04020.09
5.4.20.0030.03720.16
5.4.10.0000.04020.38
5.4.00.0070.03719.06
5.3.290.0030.04314.69
5.3.280.0000.04014.55
5.3.270.0030.03314.71
5.3.260.0100.02714.48
5.3.250.0030.03314.54
5.3.240.0030.03314.48
5.3.230.0030.03714.54
5.3.220.0000.04314.64
5.3.210.0030.03714.48
5.3.200.0070.03314.59
5.3.190.0000.04314.64
5.3.180.0030.03714.52
5.3.170.0000.04014.50
5.3.160.0070.05014.37
5.3.150.0030.03014.67
5.3.140.0000.04314.41
5.3.130.0030.03714.57
5.3.120.0000.05014.62
5.3.110.0000.04014.63
5.3.100.0030.03714.00
5.3.90.0070.04014.10
5.3.80.0000.04013.91
5.3.70.0000.04713.95
5.3.60.0030.03713.89
5.3.50.0030.03713.85
5.3.40.0070.03714.05
5.3.30.0000.03313.74
5.3.20.0000.03713.55
5.3.10.0030.04013.61
5.3.00.0070.03013.44
5.2.170.0000.03312.62
5.2.160.0030.03012.62
5.2.150.0030.02712.62
5.2.140.0030.03312.62
5.2.130.0030.02712.62
5.2.120.0070.02312.62
5.2.110.0070.02312.62
5.2.100.0030.03012.62
5.2.90.0000.02712.62
5.2.80.0000.03012.62
5.2.70.0070.03012.62
5.2.60.0000.03012.62
5.2.50.0000.02712.62
5.2.40.0030.03312.62
5.2.30.0000.03312.62
5.2.20.0000.03012.62
5.2.10.0000.03012.62
5.2.00.0070.02712.62
5.1.60.0000.02712.62
5.1.50.0070.01712.62
5.1.40.0000.03312.62
5.1.30.0000.03712.62
5.1.20.0000.03712.62
5.1.10.0000.04712.62
5.1.00.0030.04312.62
5.0.50.0000.04312.62
5.0.40.0100.02712.62
5.0.30.0030.06712.62
5.0.20.0000.04712.62
5.0.10.0000.03712.62
5.0.00.0030.06012.62
4.4.90.0030.01312.62
4.4.80.0030.01312.62
4.4.70.0030.01312.62
4.4.60.0030.01312.62
4.4.50.0030.01312.62
4.4.40.0000.02312.62
4.4.30.0000.01712.62
4.4.20.0070.03012.62
4.4.10.0100.03012.62
4.4.00.0070.04712.62
4.3.110.0000.03712.62
4.3.100.0030.02712.62
4.3.90.0030.03012.62
4.3.80.0000.02712.62
4.3.70.0030.02312.62
4.3.60.0000.03712.62
4.3.50.0030.03312.62
4.3.40.0030.05312.62
4.3.30.0000.03012.62
4.3.20.0000.01712.62
4.3.10.0000.01312.62
4.3.00.0030.03012.62

preferences:
42.06 ms | 400 KiB | 5 Q