3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime('07.01.2016 11:35:00'); $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\n"; $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::LONG, IntlDateFormatter::LONG, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\n"; $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\n"; $formatter = new IntlDateFormatter('ja_JP', IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, 'Asia/Tokyo', IntlDateFormatter::GREGORIAN); echo 'It is now: "' . $formatter->format($now) . '" in Tokyo' . "\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.0100.01020.63
8.3.60.0100.00720.49
8.3.50.0180.00723.11
8.3.40.0070.01021.54
8.3.30.0070.01021.41
8.3.20.0030.00622.96
8.3.10.0090.00024.36
8.3.00.0060.00326.29
8.2.190.0140.00320.39
8.2.180.0110.00820.38
8.2.170.0100.00622.96
8.2.160.0120.00323.14
8.2.150.0030.00624.18
8.2.140.0090.00024.85
8.2.130.0060.00324.34
8.2.120.0050.00326.35
8.2.110.0070.00324.83
8.2.100.0030.01021.55
8.2.90.0030.00622.05
8.2.80.0100.00021.38
8.2.70.0030.00921.25
8.2.60.0090.00021.66
8.2.50.0000.01121.00
8.2.40.0030.00624.89
8.2.30.0040.00422.27
8.2.20.0080.00321.43
8.2.10.0000.01021.55
8.2.00.0040.00421.64
8.1.280.0140.01025.92
8.1.270.0070.01324.80
8.1.260.0030.00728.09
8.1.250.0060.00328.09
8.1.240.0130.00723.02
8.1.230.0060.00621.27
8.1.220.0000.00921.41
8.1.210.0030.00621.11
8.1.200.0100.00021.10
8.1.190.0000.00920.85
8.1.180.0060.00320.97
8.1.170.0060.00322.25
8.1.160.0000.00823.50
8.1.150.0030.00521.71
8.1.140.0040.00423.03
8.1.130.0050.00321.31
8.1.120.0000.00821.08
8.1.110.0000.00821.22
8.1.100.0000.00921.19
8.1.90.0060.00321.29
8.1.80.0060.00321.25
8.1.70.0030.00621.16
8.1.60.0000.01021.21
8.1.50.0030.00621.27
8.1.40.0060.00321.27
8.1.30.0000.00921.50
8.1.20.0000.00921.51
8.1.10.0000.01021.18
8.1.00.0030.00621.16
8.0.300.0030.00620.66
8.0.290.0040.00820.50
8.0.280.0040.00421.26
8.0.270.0000.00820.96
8.0.260.0050.00320.86
8.0.250.0080.00020.93
8.0.240.0030.00521.07
8.0.230.0080.00020.81
8.0.220.0080.00020.79
8.0.210.0030.00520.79
8.0.200.0000.00820.78
8.0.190.0060.00320.88
8.0.180.0220.00320.65
8.0.170.0060.00320.72
8.0.160.0030.00620.68
8.0.150.0030.00620.46
8.0.140.0000.00920.54
8.0.130.0030.00313.45
8.0.120.0030.00620.41
8.0.110.0040.00420.74
8.0.100.0030.00620.77
8.0.90.0000.00920.61
8.0.80.0120.00620.39
8.0.70.0030.00620.76
8.0.60.0000.00920.59
8.0.50.0000.00920.59
8.0.30.0090.00920.88
8.0.20.0120.01220.76
8.0.10.0040.00420.79
8.0.00.0100.01220.51
7.4.330.0000.00516.84
7.4.320.0000.00720.69
7.4.300.0040.00420.59
7.4.290.0030.00920.67
7.4.280.0060.00320.64
7.4.270.0000.00820.64
7.4.260.0070.00320.21
7.4.250.0000.00820.57
7.4.240.0000.00820.22
7.4.230.0000.00820.66
7.4.220.0100.01320.65
7.4.210.0130.00420.56
7.4.200.0030.00620.67
7.4.160.0140.00320.54
7.4.150.0160.00320.44
7.4.140.0130.01220.39
7.4.130.0090.01220.44
7.4.120.0090.01220.49
7.4.110.0120.01520.34
7.4.100.0100.01020.63
7.4.90.0100.01020.48
7.4.80.0170.00320.64
7.4.70.0120.00620.27
7.4.60.0080.01220.48
7.4.50.0100.01020.39
7.4.40.0060.01220.14
7.4.30.0100.01620.21
7.4.00.0030.01319.14
7.3.330.0020.00213.30
7.3.320.0030.00213.23
7.3.310.0030.00619.95
7.3.300.0030.00519.91
7.3.290.0110.00519.97
7.3.280.0090.01419.84
7.3.270.0130.00719.97
7.3.260.0150.00419.92
7.3.250.0110.00819.88
7.3.240.0060.01420.30
7.3.230.0030.01620.08
7.3.210.0150.00920.15
7.3.200.0150.01220.20
7.3.190.0070.01320.31
7.3.180.0070.01320.43
7.3.170.0090.00920.19
7.3.160.0030.01420.20
7.2.330.0130.00920.23
7.2.320.0100.01020.42
7.2.310.0110.01420.26
7.2.300.0090.01920.40
7.2.290.0060.01220.57
7.2.60.0070.01020.46
7.2.00.0070.01023.66
7.1.200.0090.00919.70
7.1.100.0060.00322.33
7.1.70.0060.00621.19
7.1.60.0090.01821.15
7.1.50.0000.02120.95
7.1.00.0130.07026.23
7.0.200.1210.00718.90
7.0.60.0230.08025.37
7.0.50.0030.07717.80
7.0.40.0100.08323.49
7.0.30.0330.07323.52
7.0.20.0400.05023.35
7.0.10.0000.05023.35
7.0.00.0030.04723.52
5.6.280.0070.03024.89
5.6.210.0030.08724.38
5.6.200.0030.05018.18
5.6.190.0030.05323.93
5.6.180.0370.07324.12
5.6.170.0200.06023.91
5.6.160.0030.05023.99
5.6.150.0030.08018.22
5.6.140.0030.06318.11
5.6.130.0070.09018.21
5.6.120.0070.07324.51
5.6.110.0070.08724.45
5.6.100.0030.08024.52
5.6.90.0100.08324.65
5.6.80.0130.08324.07
5.5.350.0270.07724.38
5.5.340.0030.04317.98
5.5.330.0100.08023.64
5.5.320.0270.03723.69
5.5.310.0230.04023.77
5.5.300.0100.07317.91
5.5.290.0170.07717.93
5.5.280.0130.04724.48
5.5.270.0030.06324.50
5.5.260.0200.05724.45
5.5.250.0000.09024.34
5.5.240.0170.03723.63

preferences:
51.28 ms | 401 KiB | 5 Q