3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime(); $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.0280.01020.63
8.3.60.0110.00720.50
8.3.50.0130.00823.27
8.3.40.0100.01421.59
8.3.30.0070.01021.55
8.3.20.0040.00422.84
8.3.10.0040.00426.11
8.3.00.0050.00526.28
8.2.180.0260.01320.50
8.2.170.0060.01022.96
8.2.160.0060.00923.32
8.2.150.0040.00424.18
8.2.140.0070.00324.66
8.2.130.0090.00024.55
8.2.120.0000.00926.35
8.2.110.0080.00324.64
8.2.100.0030.00921.55
8.2.90.0060.00322.15
8.2.80.0000.00921.38
8.2.70.0060.00621.09
8.2.60.0040.01221.18
8.2.50.0040.00421.25
8.2.40.0000.00823.34
8.2.30.0000.01022.14
8.2.20.0070.00421.38
8.2.10.0050.00321.50
8.2.00.0050.00521.63
8.1.280.0100.01425.92
8.1.270.0100.00724.76
8.1.260.0030.00628.09
8.1.250.0080.00028.09
8.1.240.0070.00325.30
8.1.230.0040.00822.84
8.1.220.0000.00821.41
8.1.210.0000.01021.10
8.1.200.0120.00420.98
8.1.190.0030.00620.85
8.1.180.0040.00420.98
8.1.170.0060.00322.34
8.1.160.0030.00623.48
8.1.150.0030.00721.67
8.1.140.0060.00323.13
8.1.130.0040.00421.26
8.1.120.0000.00821.07
8.1.110.0040.00421.21
8.1.100.0080.00021.23
8.1.90.0060.00321.22
8.1.80.0040.00421.26
8.1.70.0040.00421.15
8.1.60.0000.00921.11
8.1.50.0000.00921.11
8.1.40.0030.00621.20
8.1.30.0100.00021.41
8.1.20.0100.00321.42
8.1.10.0030.00621.14
8.1.00.0100.00021.17
8.0.300.0030.00620.60
8.0.290.0040.00420.38
8.0.280.0080.00021.23
8.0.270.0030.00620.77
8.0.260.0000.00820.83
8.0.250.0050.00520.70
8.0.240.0070.00321.05
8.0.230.0030.00620.86
8.0.220.0040.00420.95
8.0.210.0040.00420.75
8.0.200.0070.00020.84
8.0.190.0000.01120.82
8.0.180.0160.01020.67
8.0.170.0000.00920.81
8.0.160.0050.00320.59
8.0.150.0000.00820.52
8.0.140.0060.00320.52
8.0.130.0030.00313.41
8.0.120.0060.00320.54
8.0.110.0040.00420.82
8.0.100.0030.00620.64
8.0.90.0040.00420.83
8.0.80.0100.00720.78
8.0.70.0000.00820.38
8.0.60.0030.00620.22
8.0.50.0030.00620.23
8.0.30.0100.01020.65
8.0.20.0160.00520.76
8.0.10.0070.00220.57
8.0.00.0120.01020.51
7.4.330.0000.00516.77
7.4.320.0030.00620.56
7.4.300.0030.00620.32
7.4.290.0180.00920.55
7.4.280.0030.00620.51
7.4.270.0050.00320.35
7.4.260.0080.00020.51
7.4.250.0060.00320.60
7.4.240.0060.00320.59
7.4.230.0060.00320.32
7.4.220.0120.01820.58
7.4.210.0130.01320.41
7.4.200.0030.00620.18
7.4.160.0110.00820.36
7.4.150.0120.00920.41
7.4.140.0160.01320.55
7.4.130.0170.01020.21
7.4.120.0080.01120.49
7.4.110.0120.00920.38
7.4.100.0090.01220.28
7.4.90.0130.00620.28
7.4.80.0150.00620.39
7.4.70.0130.00620.25
7.4.60.0160.01220.46
7.4.50.0070.00720.36
7.4.40.0140.00820.34
7.4.30.0130.00620.50
7.4.00.0040.01418.89
7.3.330.0000.00513.21
7.3.320.0050.00013.12
7.3.310.0030.00619.95
7.3.300.0050.00320.00
7.3.290.0150.00620.03
7.3.280.0110.01120.02
7.3.270.0130.01020.11
7.3.260.0100.01019.77
7.3.240.0040.01620.01
7.3.230.0210.00019.88
7.3.210.0120.01220.31
7.3.200.0140.01120.36
7.3.190.0140.01120.10
7.3.180.0080.01320.20
7.3.170.0060.01319.98
7.3.160.0060.01220.06
7.2.330.0130.00720.21
7.2.320.0030.01620.22
7.2.310.0070.01120.30
7.2.300.0130.01620.38
7.2.290.0120.00620.32
7.2.60.0080.01120.58
7.2.00.0030.01023.65
7.1.200.0040.00719.57
7.1.100.0040.00922.29
7.1.70.0030.00621.19
7.1.60.0100.01721.27
7.1.50.0030.01820.87
7.1.00.0100.07326.22
7.0.200.0600.00618.66
7.0.60.0300.06725.35
7.0.50.0070.08017.84
7.0.40.0100.06323.39
7.0.30.0370.07323.67
7.0.20.0300.08323.55
7.0.10.0030.04323.36
7.0.00.0000.09323.58
5.6.280.0000.03724.92
5.6.210.0070.09024.20
5.6.200.0070.05018.15
5.6.190.0070.05723.87
5.6.180.0230.08323.85
5.6.170.0270.07724.09
5.6.160.0070.08724.09
5.6.150.0130.07318.22
5.6.140.0030.06318.11
5.6.130.0170.07718.16
5.6.120.0200.07724.44
5.6.110.0030.04724.43
5.6.100.0100.08024.58
5.6.90.0170.07724.61
5.6.80.0130.05323.85
5.5.350.0300.07724.08
5.5.340.0170.07318.02
5.5.330.0070.07323.65
5.5.320.0400.04023.75
5.5.310.0370.07723.55
5.5.300.0100.07317.91
5.5.290.0100.08017.90
5.5.280.0070.09024.23
5.5.270.0100.08724.58
5.5.260.0070.09024.56
5.5.250.0130.07724.22
5.5.240.0170.04323.84

preferences:
53.26 ms | 401 KiB | 5 Q