3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmtRo = new IntlDateFormatter( 'ro_RO', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Europe/Bucharest', IntlDateFormatter::GREGORIAN, "dd MMM y, HH:mm" ); echo $fmtRo->format(time()); echo PHP_EOL; $fmtEn = new IntlDateFormatter( 'en_EN', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Europe/Bucharest', IntlDateFormatter::GREGORIAN, "dd MMM y, HH:mm" ); echo $fmtEn->format(time()); echo PHP_EOL; $fmtBg = new IntlDateFormatter( 'bg_BG', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Europe/Bucharest', IntlDateFormatter::GREGORIAN, "dd MMM y, HH:mm" ); echo $fmtBg->format(time()); echo PHP_EOL; echo date ("d M Y, H:i");

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)
7.3.10.0190.01319.61
7.3.00.0150.00919.38
7.2.130.0180.00320.18
7.2.120.0060.01319.59
7.2.110.0140.01420.09
7.2.100.0200.00820.27
7.2.90.0120.00919.93
7.2.80.0140.00720.03
7.2.70.0210.00519.86
7.2.60.0190.01120.43
7.2.50.0090.01320.31
7.2.40.0160.00919.84
7.2.30.0200.00620.10
7.2.20.0260.00920.06
7.2.10.0230.00819.64
7.2.00.0080.01021.67
7.1.250.0150.00618.89
7.1.100.0100.00321.61
7.1.70.0030.00920.79
7.1.60.0110.01821.08
7.1.50.0130.01020.83
7.1.00.0070.07725.81
7.0.200.0030.00620.55
7.0.140.0070.07325.69
7.0.80.0170.07323.68
7.0.70.0530.06723.51
7.0.60.0700.04323.43
7.0.50.0630.08723.66
7.0.40.0100.07323.43
7.0.30.0100.08323.43
7.0.20.0000.05723.42
7.0.10.0130.08323.42
7.0.00.0100.08323.39
5.6.280.0070.07324.69
5.6.230.0100.08023.89
5.6.220.0030.09323.94
5.6.210.0070.08323.86
5.6.200.0170.08024.43
5.6.190.0100.08324.30
5.6.180.0070.08324.41
5.6.170.0030.09324.30
5.6.160.0200.07024.25
5.6.150.0030.06324.36
5.6.140.0070.08024.38
5.6.130.0170.07024.54
5.6.120.0030.06724.30
5.6.110.0070.04324.43
5.6.100.0130.05024.42
5.6.90.0070.04724.47
5.6.80.0030.08323.93
5.6.70.0070.06023.64
5.6.60.0100.05323.88
5.6.50.0200.05724.01
5.6.40.0030.08023.80
5.6.30.0030.08323.64
5.6.20.0100.07023.82
5.6.10.0100.06023.59
5.6.00.0230.06023.86
5.5.370.0070.05024.18
5.5.360.0030.07023.86
5.5.350.0170.08023.74
5.5.340.0100.08324.14
5.5.330.0270.07024.26
5.5.320.0100.08024.07
5.5.310.0170.05724.46
5.5.300.0070.04724.46
5.5.290.0100.04724.07
5.5.280.0130.08024.07
5.5.270.0130.03724.06
5.5.260.0100.04724.15
5.5.250.0070.05024.04
5.5.240.0070.06323.45
5.5.230.0170.07323.55
5.5.220.0100.07323.61
5.5.210.0100.05323.62
5.5.200.0070.04023.64
5.5.190.0070.08023.46
5.5.180.0070.04723.52
5.5.160.0030.04323.41
5.5.150.0100.04723.42
5.5.140.0100.07723.61
5.5.130.0130.07023.59
5.5.120.0070.04323.57
5.5.110.0070.08023.35
5.5.100.0100.07023.28
5.5.90.0100.07323.46
5.5.80.0100.04023.72
5.5.70.0100.08023.32
5.5.60.0200.07023.42
5.5.50.0030.08323.39
5.5.40.0070.07323.34
5.5.30.0000.06023.26
5.5.20.0070.04323.49
5.5.10.0070.03723.48
5.5.00.0070.05023.34
5.4.450.0100.03722.69
5.4.440.0070.08722.46
5.4.430.0100.07722.40
5.4.420.0070.07722.41
5.4.410.0130.05722.47
5.4.400.0030.04322.28
5.4.390.0000.08721.81
5.4.380.0070.07322.08
5.4.370.0100.07022.07
5.4.360.0070.04322.25
5.4.350.0070.07322.13
5.4.340.0000.04722.20
5.4.320.0030.04022.28
5.4.310.0100.06722.41
5.4.300.0030.07722.41
5.4.290.0130.07322.36
5.4.280.0030.08321.82
5.4.270.0130.06721.82
5.4.260.0100.08021.73
5.4.250.0070.07721.80
5.4.240.0170.04022.16
5.4.230.0130.07722.12
5.4.220.0170.03321.73
5.4.210.0030.06322.13
5.4.200.0130.06022.40
5.4.190.0130.06721.70
5.4.180.0070.05322.03
5.4.170.0100.07021.81
5.4.160.0170.06722.02
5.4.150.0030.05322.04
5.4.140.0170.06319.16
5.4.130.0070.07719.06
5.4.120.0070.03319.28
5.4.110.0170.07019.14
5.4.100.0030.07719.37
5.4.90.0030.06719.78
5.4.80.0030.08019.43
5.4.70.0070.08019.74
5.4.60.0130.04019.42
5.4.50.0070.07019.32
5.4.40.0000.07719.48
5.4.30.0130.05319.48
5.4.20.0030.07719.71
5.4.10.0070.07719.03
5.4.00.0070.04018.54
5.3.290.0100.04014.48
5.3.280.0100.07314.44
5.3.270.0070.04314.56
5.3.260.0130.06714.44
5.3.250.0000.08314.61
5.3.240.0070.06714.51
5.3.230.0070.03714.43
5.3.220.0000.05014.57
5.3.210.0030.07314.43
5.3.200.0100.04014.55
5.3.190.0100.03314.50
5.3.180.0100.06314.51
5.3.170.0100.06314.43
5.3.160.0000.04714.55
5.3.150.0070.06714.52
5.3.140.0000.05714.56
5.3.130.0070.05314.48
5.3.120.0100.07014.54
5.3.110.0070.08014.37
5.3.100.0170.05714.02
5.3.90.0030.06713.88
5.3.80.0130.07013.99
5.3.70.0230.04314.00
5.3.60.0100.06313.98
5.3.50.0030.07313.92
5.3.40.0030.04313.93
5.3.30.0070.05013.77
5.3.20.0070.03713.63
5.3.10.0070.07013.64
5.3.00.0100.06013.59
5.2.170.0100.05311.11
5.2.160.0000.04711.21
5.2.150.0130.05311.15
5.2.140.0030.03011.20
5.2.130.0030.06310.96
5.2.120.0070.06011.11
5.2.110.0070.02711.09
5.2.100.0030.06711.14
5.2.90.0070.05010.96
5.2.80.0070.04011.09
5.2.70.0100.05711.05
5.2.60.0030.05011.12
5.2.50.0030.06710.95
5.2.40.0000.06310.82
5.2.30.0100.04011.04
5.2.20.0070.06711.02
5.2.10.0070.06010.80
5.2.00.0100.06010.78
5.1.60.0030.05310.07
5.1.50.0030.05310.04
5.1.40.0130.05310.02
5.1.30.0030.06010.41
5.1.20.0130.05310.26
5.1.10.0030.03310.16
5.1.00.0070.05310.14
5.0.50.0000.0308.56
5.0.40.0030.0308.46
5.0.30.0070.0638.22
5.0.20.0030.0478.29
5.0.10.0030.0338.25
5.0.00.0030.0538.15
4.4.90.0030.0337.24
4.4.80.0070.0177.24
4.4.70.0030.0307.24
4.4.60.0030.0337.24
4.4.50.0100.0237.24
4.4.40.0000.0407.24
4.4.30.0030.0377.24
4.4.20.0070.0177.24
4.4.10.0030.0277.24
4.4.00.0030.0307.24
4.3.110.0000.0337.24
4.3.100.0000.0377.24
4.3.90.0030.0337.24
4.3.80.0000.0337.24
4.3.70.0030.0307.24
4.3.60.0070.0137.24
4.3.50.0000.0207.24
4.3.40.0000.0507.24
4.3.30.0030.0337.24
4.3.20.0030.0337.24
4.3.10.0030.0307.24
4.3.00.0030.0337.24

preferences:
38.5 ms | 400 KiB | 5 Q