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; 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.0090.00619.84
7.3.00.0110.00619.80
7.2.130.0080.00820.18
7.2.120.0060.00919.93
7.2.110.0130.00020.26
7.2.100.0100.00720.04
7.2.90.0060.01220.14
7.2.80.0080.00820.24
7.2.70.0000.01220.06
7.2.60.0080.00920.07
7.2.50.0030.01320.24
7.2.40.0090.00619.98
7.2.30.0040.01120.06
7.2.20.0100.00320.33
7.2.10.0090.00620.25
7.2.00.0110.01121.34
7.1.250.0110.00019.02
7.1.200.0130.00619.08
7.1.100.0100.01321.18
7.1.70.0070.00720.46
7.1.60.0100.01320.86
7.1.50.0140.01020.32
7.1.00.0100.07325.88
7.0.200.0040.00420.16
7.0.140.0100.06725.64
7.0.100.0300.03723.21
7.0.90.0170.05723.38
7.0.80.0200.03023.31
7.0.70.0030.03723.16
7.0.60.0030.04723.29
7.0.50.0070.03023.45
7.0.40.0030.04323.23
7.0.30.0030.04323.08
7.0.20.0130.07323.13
7.0.10.0030.07323.16
7.0.00.0100.08323.14
5.6.280.0100.07024.31
5.6.250.0030.04323.91
5.6.240.0030.04023.89
5.6.230.0000.04323.75
5.6.220.0070.04323.96
5.6.210.0000.05323.85
5.6.200.0030.03724.01
5.6.190.0030.04324.27
5.6.180.0030.04324.03
5.6.170.0100.06324.42
5.6.160.0100.03724.42
5.6.150.0030.08324.24
5.6.140.0130.05324.25
5.6.130.0130.06723.96
5.6.120.0030.05724.25
5.6.110.0030.09024.22
5.6.100.0070.08724.19
5.6.90.0000.08024.40
5.6.80.0100.07323.63
5.6.70.0030.06023.63
5.6.60.0070.07323.38
5.6.50.0130.04723.74
5.6.40.0100.04323.47
5.6.30.0070.07323.39
5.6.20.0130.06723.47
5.6.10.0100.06323.32
5.6.00.0100.05723.30
5.5.380.0030.04323.77
5.5.370.0000.03723.59
5.5.360.0030.04023.54
5.5.350.0000.04323.51
5.5.340.0030.04324.05
5.5.330.0030.04323.93
5.5.320.0070.07323.78
5.5.310.0000.04323.81
5.5.300.0070.04024.06
5.5.290.0030.07024.00
5.5.280.0130.04724.03
5.5.270.0100.08723.77
5.5.260.0070.08323.89
5.5.250.0100.06023.73
5.5.240.0100.07023.25
5.5.230.0130.07323.28
5.5.220.0100.05723.15
5.5.210.0030.08723.30
5.5.200.0100.06023.13
5.5.190.0170.06023.24
5.5.180.0100.06023.28
5.5.160.0030.08023.27
5.5.150.0070.04723.13
5.5.140.0070.08023.27
5.5.130.0170.07323.39
5.5.120.0170.05323.43
5.5.110.0130.07723.36
5.5.100.0100.04323.25
5.5.90.0100.04023.08
5.5.80.0070.04023.05
5.5.70.0030.04023.07
5.5.60.0070.04023.21
5.5.50.0030.05023.07
5.5.40.0100.06023.45
5.5.30.0000.05323.21
5.5.20.0000.06023.22
5.5.10.0130.07723.06
5.5.00.0170.06722.91
5.4.450.0070.07722.18
5.4.440.0130.05722.23
5.4.430.0070.08022.18
5.4.420.0070.07322.28
5.4.410.0130.07022.05
5.4.400.0100.06321.55
5.4.390.0070.07721.95
5.4.380.0000.05321.91
5.4.370.0170.07321.61
5.4.360.0130.07721.54
5.4.350.0070.06721.82
5.4.340.0070.07321.98
5.4.320.0100.03721.69
5.4.310.0000.08021.87
5.4.300.0070.08021.48
5.4.290.0000.06322.11
5.4.280.0070.04721.45
5.4.270.0070.07322.12
5.4.260.0070.06021.54
5.4.250.0030.08021.95
5.4.240.0100.07321.89
5.4.230.0000.05021.82
5.4.220.0030.08321.68
5.4.210.0070.06721.46
5.4.200.0200.04021.81
5.4.190.0030.06721.45
5.4.180.0000.05021.68
5.4.170.0030.04721.89
5.4.160.0070.07022.09
5.4.150.0030.04321.53
5.4.140.0200.07019.12
5.4.130.0000.06018.83
5.4.120.0030.08018.93
5.4.110.0030.04719.23
5.4.100.0170.05719.24
5.4.90.0170.07719.28
5.4.80.0100.06319.14
5.4.70.0030.07719.44
5.4.60.0070.06018.77
5.4.50.0070.07019.13
5.4.40.0100.06719.27
5.4.30.0100.03719.20
5.4.20.0100.06319.43
5.4.10.0070.04719.37
5.4.00.0030.04018.24
5.3.290.0100.06014.62
5.3.280.0100.05314.59
5.3.270.0000.05314.59
5.3.260.0030.05314.56
5.3.250.0100.05714.57
5.3.240.0070.07714.42
5.3.230.0100.07014.60
5.3.220.0100.07714.40
5.3.210.0070.04314.50
5.3.200.0000.08014.47
5.3.190.0000.04714.57
5.3.180.0070.07714.42
5.3.170.0130.06714.55
5.3.160.0000.05314.42
5.3.150.0130.05314.54
5.3.140.0070.07314.56
5.3.130.0070.09014.52
5.3.120.0100.06014.50
5.3.110.0100.05014.40
5.3.100.0030.08014.01
5.3.90.0070.03713.95
5.3.80.0030.06013.98
5.3.70.0070.06314.01
5.3.60.0070.04013.99
5.3.50.0030.07013.71
5.3.40.0070.07013.94
5.3.30.0000.04713.88
5.3.20.0100.04013.65
5.3.10.0030.03713.61
5.3.00.0030.06313.60
5.2.170.0100.03311.23
5.2.160.0030.05711.06
5.2.150.0030.03710.97
5.2.140.0070.06010.97
5.2.130.0000.06311.09
5.2.120.0030.03311.12
5.2.110.0030.03310.96
5.2.100.0070.06011.12
5.2.90.0070.05010.94
5.2.80.0100.04310.93
5.2.70.0130.05311.09
5.2.60.0070.06010.87
5.2.50.0030.03010.81
5.2.40.0070.03011.06
5.2.30.0070.05710.81
5.2.20.0070.04710.92
5.2.10.0070.04310.87
5.2.00.0070.05710.76
5.1.60.0030.04710.10
5.1.50.0030.04010.10
5.1.40.0100.03310.10
5.1.30.0070.05310.23
5.1.20.0030.03010.40
5.1.10.0000.05710.10
5.1.00.0030.05010.13
5.0.50.0030.03710.10
5.0.40.0130.03710.10
5.0.30.0030.06310.10
5.0.20.0030.02710.10
5.0.10.0030.04310.10
5.0.00.0000.06310.10
4.4.90.0070.01310.10
4.4.80.0000.02710.10
4.4.70.0000.01710.10
4.4.60.0030.03010.10
4.4.50.0070.02010.10
4.4.40.0030.04310.10
4.4.30.0130.02710.10
4.4.20.0000.02010.10
4.4.10.0000.02010.10
4.4.00.0030.02710.10
4.3.110.0030.03310.10
4.3.100.0030.03010.10
4.3.90.0000.03710.10
4.3.80.0070.05010.10
4.3.70.0030.03310.10
4.3.60.0030.03710.10
4.3.50.0070.03010.10
4.3.40.0070.04710.10
4.3.30.0000.03710.10
4.3.20.0030.02010.10
4.3.10.0000.02010.10
4.3.00.0000.01710.10

preferences:
31.24 ms | 400 KiB | 5 Q