3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmtRo = new IntlDateFormatter( 'ro_RO', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Europe/Bucharest', IntlDateFormatter::GREGORIAN, "dd LLL y, hh:mm" ); echo $fmtRo->format(time()); echo PHP_EOL; $fmtEn = new IntlDateFormatter( 'en_EN', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'Europe/Bucharest', IntlDateFormatter::GREGORIAN, "dd LLL 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.4.10.0210.00918.30
7.4.00.0150.01518.45
7.3.130.0140.01417.99
7.3.120.0120.01417.52
7.3.110.0140.01417.93
7.3.100.0030.01317.91
7.3.90.0100.00717.76
7.3.80.0070.00418.06
7.3.70.0030.01017.91
7.3.60.0120.00417.82
7.3.50.0090.00717.98
7.3.40.0030.01018.05
7.3.30.0040.01517.81
7.3.20.0080.00819.85
7.3.10.0140.00719.48
7.3.00.0070.01019.53
7.2.260.0150.01518.32
7.2.250.0190.00918.09
7.2.240.0030.00918.14
7.2.230.0120.00318.01
7.2.220.0100.00718.46
7.2.210.0000.01118.34
7.2.200.0030.01318.05
7.2.190.0180.00018.07
7.2.180.0090.00618.43
7.2.170.0060.01018.18
7.2.160.0040.01517.95
7.2.150.0120.00420.25
7.2.140.0000.01419.93
7.2.130.0070.01119.97
7.2.120.0100.00919.91
7.2.110.0060.01119.99
7.2.100.0080.00919.99
7.2.90.0040.01020.13
7.2.80.0060.01020.03
7.2.70.0070.00920.12
7.2.60.0090.00919.95
7.2.50.0040.01020.11
7.2.40.0130.00719.92
7.2.30.0110.00419.96
7.2.20.0060.01320.04
7.2.10.0090.01119.87
7.2.00.0060.01120.91
7.1.330.0130.00319.17
7.1.320.0040.01218.97
7.1.310.0000.01418.95
7.1.300.0060.00919.09
7.1.290.0070.00419.16
7.1.280.0070.00719.25
7.1.270.0060.00919.14
7.1.260.0070.00719.27
7.1.250.0060.01418.97
7.1.240.0000.01519.01
7.1.230.0000.01418.96
7.1.220.0050.00518.70
7.1.210.0030.01219.00
7.1.200.0080.00719.05
7.1.190.0140.00018.86
7.1.180.0030.00918.96
7.1.170.0090.00019.23
7.1.160.0080.00819.05
7.1.150.0060.00619.11
7.1.140.0090.00619.11
7.1.130.0040.01119.16
7.1.120.0060.00319.04
7.1.110.0030.00918.82
7.1.100.0030.00820.23
7.1.90.0070.00319.19
7.1.80.0030.01319.12
7.1.70.0040.00919.86
7.1.60.0120.01019.84
7.1.50.0050.01219.65
7.1.40.0030.01419.12
7.1.30.0000.01718.82
7.1.20.0100.01019.13
7.1.10.0050.00618.80
7.1.00.0070.04222.49
7.0.330.0060.00918.56
7.0.320.0040.01118.51
7.0.310.0070.00718.60
7.0.300.0060.00619.00
7.0.290.0100.01018.89
7.0.280.0040.01118.63
7.0.270.0000.01518.75
7.0.260.0050.00818.79
7.0.250.0070.00718.89
7.0.240.0120.00319.11
7.0.230.0040.01118.77
7.0.220.0110.00418.91
7.0.210.0030.01618.75
7.0.200.0060.00819.71
7.0.190.0030.00918.58
7.0.180.0110.00318.89
7.0.170.0070.00718.86
7.0.160.0040.01518.75
7.0.150.0040.00818.93
7.0.140.0020.04622.14
7.0.130.0000.01218.84
7.0.120.0130.00619.03
7.0.110.0090.00318.78
7.0.100.0220.04621.05
7.0.90.0170.04220.95
7.0.80.0170.02521.01
7.0.70.0180.02520.84
7.0.60.0220.04221.75
7.0.50.0130.04021.20
7.0.40.0050.05019.95
7.0.30.0000.04119.94
7.0.20.0030.04819.94
7.0.10.0030.04519.85
7.0.00.0030.04919.94
5.6.400.0050.00517.52
5.6.390.0000.01417.54
5.6.380.0070.01017.76
5.6.370.0070.00717.47
5.6.360.0030.01317.68
5.6.350.0090.00317.73
5.6.340.0000.01217.93
5.6.330.0000.01017.70
5.6.320.0000.01617.68
5.6.310.0100.01017.89
5.6.300.0040.01117.73
5.6.290.0030.00617.88
5.6.280.0130.03620.83
5.6.270.0000.02017.93
5.6.260.0070.01017.47
5.6.250.0130.04020.84
5.6.240.0050.04520.60
5.6.230.0080.04420.55
5.6.220.0060.03320.71
5.6.210.0060.04520.67
5.6.200.0080.04321.11
5.6.190.0020.05121.07
5.6.180.0080.04420.92
5.6.170.0050.04220.92
5.6.160.0070.04420.97
5.6.150.0050.04720.95
5.6.140.0070.04721.05
5.6.130.0030.05020.97
5.6.120.0090.03921.00
5.6.110.0090.04220.64
5.6.100.0050.03720.72
5.6.90.0070.04920.92
5.6.80.0020.03820.60
5.6.70.0020.05020.50
5.6.60.0100.03320.52
5.6.50.0060.02220.52
5.6.40.0090.04320.51
5.6.30.0020.04920.68
5.6.20.0050.04320.31
5.6.10.0110.03120.56
5.6.00.0050.02220.57
5.5.380.0070.02620.46
5.5.370.0020.05020.37
5.5.360.0030.04620.50
5.5.350.0130.03820.45
5.5.340.0080.04320.61
5.5.330.0070.04620.77
5.5.320.0110.04020.69
5.5.310.0060.02120.77
5.5.300.0120.04220.78
5.5.290.0080.03820.98
5.5.280.0070.02120.88
5.5.270.0030.05120.72
5.5.260.0090.03020.84
5.5.250.0060.02520.59
5.5.240.0080.04120.16
5.5.230.0100.04520.35
5.5.220.0080.02020.17
5.5.210.0050.02020.44
5.5.200.0070.04220.47
5.5.190.0020.03720.55
5.5.180.0030.04820.28
5.5.170.0000.01017.55
5.5.160.0050.04220.59
5.5.150.0070.04320.24
5.5.140.0060.02120.50
5.5.130.0050.02020.61
5.5.120.0060.02120.37
5.5.110.0060.02820.33
5.5.100.0120.03720.29
5.5.90.0080.04520.17
5.5.80.0070.04520.37
5.5.70.0030.02520.34
5.5.60.0070.04020.64
5.5.50.0030.04720.37
5.5.40.0020.04220.33
5.5.30.0050.02820.40
5.5.20.0110.02520.35
5.5.10.0120.03320.41
5.5.00.0070.04120.33
5.4.450.0030.02316.91
5.4.440.0030.04716.91
5.4.430.0070.04216.91
5.4.420.0070.02517.03
5.4.410.0050.04216.97
5.4.400.0060.04216.77
5.4.390.0080.03016.88
5.4.380.0020.02416.73
5.4.370.0070.01716.74
5.4.360.0030.02116.77
5.4.350.0020.04416.77
5.4.340.0070.03816.73
5.4.330.0030.00511.63
5.4.320.0070.01816.76
5.4.310.0080.03616.73
5.4.300.0040.01816.55
5.4.290.0000.02216.54
5.4.280.0050.02016.74
5.4.270.0070.03516.73
5.4.260.0030.03816.88
5.4.250.0100.03716.59
5.4.240.0040.03716.73
5.4.230.0040.04216.75
5.4.220.0030.04216.74
5.4.210.0070.01716.77
5.4.200.0090.03516.63
5.4.190.0020.02816.65
5.4.180.0050.03316.75
5.4.170.0040.02616.89
5.4.160.0070.03816.76
5.4.150.0110.03816.86
5.4.140.0100.03815.22
5.4.130.0040.03915.34
5.4.120.0070.02715.36
5.4.110.0020.04315.41
5.4.100.0050.03815.19
5.4.90.0080.03615.52
5.4.80.0030.04015.56
5.4.70.0030.04115.47
5.4.60.0050.03515.47
5.4.50.0050.03815.40
5.4.40.0030.02615.53
5.4.30.0050.04215.40
5.4.20.0000.02815.53
5.4.10.0030.03615.42
5.4.00.0000.02215.01
5.3.290.0000.03714.63
5.3.280.0000.03714.45
5.3.270.0000.04314.59
5.3.260.0030.07014.55
5.3.250.0070.07714.60
5.3.240.0030.07714.59
5.3.230.0130.07014.57
5.3.220.0030.07314.52
5.3.210.0070.07314.51
5.3.200.0130.02314.53
5.3.190.0070.03714.53
5.3.180.0100.07014.50
5.3.170.0070.06014.47
5.3.160.0070.03014.57
5.3.150.0070.07014.37
5.3.140.0000.07014.54
5.3.130.0070.07714.54
5.3.120.0030.07714.49
5.3.110.0100.08014.51
5.3.100.0030.08014.01
5.3.90.0030.04713.99
5.3.80.0030.07313.99
5.3.70.0030.03013.97
5.3.60.0070.07013.98
5.3.50.0000.03313.80
5.3.40.0100.07313.93
5.3.30.0070.06013.91
5.3.20.0000.07713.55
5.3.10.0030.04713.65
5.3.00.0030.07313.41
5.2.170.0100.05712.56
5.2.160.0030.06012.56
5.2.150.0100.02012.56
5.2.140.0030.02312.56
5.2.130.0000.04712.56
5.2.120.0030.02312.56
5.2.110.0100.05312.56
5.2.100.0000.02712.56
5.2.90.0030.05312.56
5.2.80.0030.02712.56
5.2.70.0000.06712.56
5.2.60.0030.06312.56
5.2.50.0100.03312.56
5.2.40.0030.05712.56
5.2.30.0000.06012.56
5.2.20.0030.04712.56
5.2.10.0030.06012.56
5.2.00.0000.02712.56
5.1.60.0030.02712.56
5.1.50.0030.05312.56
5.1.40.0000.03312.56
5.1.30.0030.03312.56
5.1.20.0000.03312.56
5.1.10.0000.05712.56
5.1.00.0000.05312.56
5.0.50.0000.02012.56
5.0.40.0000.04012.56
5.0.30.0100.02012.56
5.0.20.0030.03012.56
5.0.10.0000.04712.56
5.0.00.0000.04312.56
4.4.90.0000.01312.56
4.4.80.0030.03312.56
4.4.70.0070.03012.56
4.4.60.0000.03712.56
4.4.50.0030.02012.56
4.4.40.0030.02312.56
4.4.30.0030.03012.56
4.4.20.0030.03312.56
4.4.10.0000.01312.56
4.4.00.0030.02012.56
4.3.110.0070.03012.56
4.3.100.0000.03712.56
4.3.90.0000.02712.56
4.3.80.0030.05012.56
4.3.70.0070.01312.56
4.3.60.0000.01312.56
4.3.50.0030.03312.56
4.3.40.0030.05312.56
4.3.30.0070.03012.56
4.3.20.0000.01312.56
4.3.10.0000.01312.56
4.3.00.0000.03712.56

preferences:
29.27 ms | 401 KiB | 5 Q