3v4l.org

run code in 300+ PHP versions simultaneously
<?php Locale::setDefault('no_NO'); $fmt = new IntlDateFormatter( Locale::getDefault(), IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Formatted output is ' . $fmt->format(0)."\n"; Locale::setDefault('en_GB'); $fmt = new IntlDateFormatter( Locale::getDefault(), IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Formatted output is ' . $fmt->format(2015-10-28)."\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.0130.00722.68
8.3.60.0170.00720.86
8.3.50.0130.01024.17
8.3.40.0100.01021.58
8.3.30.0130.00321.84
8.3.20.0000.00923.46
8.3.10.0030.00626.90
8.3.00.0080.00423.13
8.2.180.0410.00720.63
8.2.170.0060.01022.96
8.2.160.0120.00425.15
8.2.150.0030.00624.18
8.2.140.0040.00425.38
8.2.130.0030.00626.16
8.2.120.0030.00721.50
8.2.110.0030.00825.20
8.2.100.0100.00321.93
8.2.90.0060.00322.44
8.2.80.0030.00621.46
8.2.70.0100.00021.50
8.2.60.0000.00921.80
8.2.50.0070.00321.25
8.2.40.0030.00625.06
8.2.30.0060.00323.68
8.2.20.0030.00621.53
8.2.10.0040.00421.98
8.2.00.0040.00421.93
8.1.280.0070.01325.92
8.1.270.0140.00725.16
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0070.00327.28
8.1.230.0060.00621.78
8.1.220.0030.00721.76
8.1.210.0030.00721.36
8.1.200.0030.00721.25
8.1.190.0060.00321.09
8.1.180.0070.00321.51
8.1.170.0040.00423.04
8.1.160.0090.00025.25
8.1.150.0030.00623.74
8.1.140.0030.00623.52
8.1.130.0040.00421.75
8.1.120.0030.00621.42
8.1.110.0040.00421.53
8.1.100.0000.00821.55
8.1.90.0000.00821.54
8.1.80.0080.00021.10
8.1.70.0000.00921.52
8.1.60.0000.00921.60
8.1.50.0030.00721.39
8.1.40.0030.00921.60
8.1.30.0060.00321.88
8.1.20.0050.00521.86
8.1.10.0060.00621.53
8.1.00.0070.00421.32
8.0.300.0000.00920.85
8.0.290.0040.00420.75
8.0.280.0030.00521.63
8.0.270.0050.00321.26
8.0.260.0000.00821.26
8.0.250.0050.00520.64
8.0.240.0090.00020.72
8.0.230.0000.00820.77
8.0.220.0030.00720.77
8.0.210.0060.00320.76
8.0.200.0030.00520.84
8.0.190.0030.00720.97
8.0.180.0080.00020.78
8.0.170.0000.00920.81
8.0.160.0060.00320.72
8.0.150.0060.00320.68
8.0.140.0030.00620.77
8.0.130.0030.00313.32
8.0.120.0030.00720.78
8.0.110.0040.00421.20
8.0.100.0030.00621.00
8.0.90.0040.00421.00
8.0.80.0180.00421.16
8.0.70.0060.00321.17
8.0.60.0030.00620.46
8.0.50.0050.00521.02
8.0.30.0100.01221.25
8.0.20.0090.01321.13
8.0.10.0060.00321.25
8.0.00.0070.01320.83
7.4.330.0000.00515.08
7.4.320.0000.00820.65
7.4.300.0000.00720.64
7.4.290.0040.00420.47
7.4.280.0030.00620.60
7.4.270.0040.00420.68
7.4.260.0080.00020.48
7.4.250.0080.00020.51
7.4.240.0050.00420.61
7.4.230.0080.00020.71
7.4.220.0100.01220.73
7.4.210.0100.00720.70
7.4.200.0090.00020.38
7.4.160.0100.00720.50
7.4.150.0110.01820.51
7.4.140.0200.01620.53
7.4.130.0130.01020.38
7.4.120.0110.01120.40
7.4.110.0090.01220.69
7.4.100.0100.01320.33
7.4.90.0140.00520.43
7.4.80.0160.00620.51
7.4.70.0100.01020.54
7.4.60.0150.00620.45
7.4.50.0030.00620.48
7.4.40.0090.00920.59
7.4.30.0000.02020.58
7.4.00.0100.00718.72
7.3.330.0000.00513.21
7.3.320.0020.00213.03
7.3.310.0030.00620.08
7.3.300.0050.00319.92
7.3.290.0070.00820.31
7.3.280.0100.01120.35
7.3.270.0070.01720.77
7.3.260.0120.00820.79
7.3.250.0100.01120.35
7.3.240.0160.00920.14
7.3.230.0150.01120.54
7.3.210.0130.00620.56
7.3.200.0190.00020.55
7.3.190.0100.01020.69
7.3.180.0030.01419.95
7.3.170.0110.01120.50
7.3.160.0090.00920.65
7.2.330.0080.01220.37
7.2.320.0100.01020.37
7.2.310.0040.01520.57
7.2.300.0060.01920.80
7.2.290.0170.00320.43
7.2.60.0100.00720.69
7.2.00.0030.00823.37
7.1.200.0000.01119.34
7.1.100.0060.01222.21
7.1.70.0000.00920.92
7.1.60.0100.01721.33
7.1.50.0140.00021.07
7.1.00.0000.08326.72
7.0.200.0060.00619.02
7.0.60.0130.08025.86
7.0.50.0070.08317.93
7.0.40.0070.09023.83
7.0.30.0270.05723.89
7.0.20.0230.08024.17
7.0.10.0100.05023.70
7.0.00.0100.09024.03
5.6.280.0030.03325.08
5.6.210.0100.07724.59
5.6.200.0030.04018.08
5.6.190.0100.04324.20
5.6.180.0370.04024.28
5.6.170.0270.08024.25
5.6.160.0100.08324.27
5.6.150.0300.03018.18
5.6.140.0030.08318.22
5.6.130.0070.08018.18
5.6.120.0100.05324.87
5.6.110.0070.10025.12
5.6.100.0030.04024.90
5.6.90.0000.10024.97
5.6.80.0030.09324.49
5.5.350.0170.05024.45
5.5.340.0000.04717.92
5.5.330.0030.06024.08
5.5.320.0600.08024.35
5.5.310.0270.05024.08
5.5.300.0030.04318.02
5.5.290.0070.08017.91
5.5.280.0000.06024.73
5.5.270.0130.08024.83
5.5.260.0100.09724.63
5.5.250.0200.07024.47
5.5.240.0200.07724.11
5.4.450.3770.04323.28
5.4.440.2600.05022.79
5.4.430.4130.03722.96
5.4.420.3870.04322.95
5.4.410.3900.04022.83
5.4.400.3030.03322.97
5.4.390.3870.04022.68
5.4.380.4000.03722.82
5.4.370.4670.03322.59
5.4.360.4230.02722.59
5.4.350.4070.04323.04
5.4.340.3970.03722.67
5.4.320.1470.04322.95
5.4.310.3770.04022.72
5.4.300.3800.03722.64
5.4.290.5670.03722.72
5.4.280.2970.04022.67
5.4.270.3130.03022.56
5.4.260.3200.03722.59
5.4.250.3900.04323.05
5.4.240.3930.04322.94
5.4.230.3400.04022.62
5.4.220.3730.03722.66
5.4.210.3330.03722.81
5.4.200.3230.03722.64
5.4.190.3600.03722.58
5.4.180.2900.04022.51
5.4.170.3670.03722.62
5.4.160.3970.04022.50
5.4.150.3970.04022.65
5.4.140.3700.04019.89
5.4.130.3970.03319.98
5.4.120.3930.03019.65
5.4.110.3870.03319.84
5.4.100.4170.04319.88
5.4.90.3930.04020.13

preferences:
49.11 ms | 401 KiB | 5 Q