3v4l.org

run code in 300+ PHP versions simultaneously
<?php $intlDateFormatter = new IntlDateFormatter( 'it', 2, -1, 'Europe/Rome', 1, 'dd/MM/yyyy' ); $timezone = $intlDateFormatter->getTimeZone(); var_dump($timezone->getDisplayName()); $intlDateFormatter->setLenient(false); $date = '01/01/1999'; // $intlDateFormatter->setLenient(true); $res = $intlDateFormatter->parse($date, $pos); var_dump($res); var_dump($pos); var_dump($intlDateFormatter->getErrorCode()); var_dump($intlDateFormatter->getErrorMessage()); echo "$date - $res\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.60.0200.02321.25
8.3.50.0230.02824.30
8.3.40.0190.00621.59
8.3.30.0100.01321.25
8.3.20.0100.01022.96
8.3.10.0070.01426.09
8.3.00.0150.00626.27
8.2.180.0230.02322.91
8.2.170.0170.00322.96
8.2.160.0130.01023.02
8.2.150.0040.01824.18
8.2.140.0130.01025.14
8.2.130.0140.00723.27
8.2.120.0070.00326.35
8.2.110.0000.00924.99
8.2.100.0100.00321.55
8.2.90.0000.00821.92
8.2.80.0000.00921.55
8.2.70.0100.00720.75
8.2.60.0080.00621.30
8.2.50.0080.00820.75
8.2.40.0080.00824.79
8.2.30.0060.00322.08
8.2.20.0040.00421.27
8.2.10.0090.00021.63
8.2.00.0080.00021.70
8.1.280.0130.01925.92
8.1.270.0160.00621.46
8.1.260.0030.00726.35
8.1.250.0000.00828.09
8.1.240.0140.00425.05
8.1.230.0090.00422.72
8.1.220.0000.01021.18
8.1.210.0000.01120.85
8.1.200.0070.00320.61
8.1.190.0000.01020.72
8.1.180.0140.00321.04
8.1.170.0000.00922.00
8.1.160.0030.00523.38
8.1.150.0030.00521.45
8.1.140.0030.00823.00
8.1.130.0100.00021.04
8.1.120.0080.00020.85
8.1.110.0000.00820.91
8.1.100.0040.00420.86
8.1.90.0000.00920.95
8.1.80.0030.00720.87
8.1.70.0040.00420.93
8.1.60.0030.00621.09
8.1.50.0050.00520.91
8.1.40.0000.00921.06
8.1.30.0030.00621.04
8.1.20.0000.00821.21
8.1.10.0030.00621.10
8.1.00.0080.00021.15
8.0.300.0060.00320.16
8.0.290.0030.00520.38
8.0.280.0040.00421.21
8.0.270.0080.00020.80
8.0.260.0020.00520.86
8.0.250.0080.00020.48
8.0.240.0090.00020.56
8.0.230.0060.00320.44
8.0.220.0060.00320.53
8.0.210.0060.00320.51
8.0.200.0040.00420.53
8.0.190.0120.00820.30
8.0.180.0050.00320.45
8.0.170.0040.00420.54
8.0.160.0080.00020.61
8.0.150.0000.00820.36
8.0.140.0180.00020.32
8.0.130.0060.00013.33
8.0.120.0030.00620.36
8.0.110.0030.00620.25
8.0.100.0000.00820.23
8.0.90.0050.00320.43
8.0.80.0120.00920.61
8.0.70.0090.00020.52
8.0.60.0060.00320.65
8.0.50.0060.00320.51
8.0.30.0110.00920.96
8.0.20.0090.01120.79
8.0.10.0000.00920.46
8.0.00.0120.01020.37
7.4.330.0050.00016.66
7.4.320.0000.00820.23
7.4.300.0060.00320.30
7.4.290.0000.00820.33
7.4.280.0070.00320.34
7.4.270.0000.00920.31
7.4.260.0000.00719.88
7.4.250.0030.00620.29
7.4.240.0040.00520.31
7.4.230.0040.00420.30
7.4.220.0060.01620.24
7.4.210.0070.01220.20
7.4.200.0050.00320.16
7.4.160.0070.01120.19
7.4.150.0150.01120.10
7.4.140.0080.01420.06
7.4.130.0140.01120.23
7.4.120.0130.00820.14
7.4.110.0130.01320.15
7.4.100.0120.00920.27
7.4.90.0110.01220.36
7.4.80.0110.00720.09
7.4.70.0110.00720.23
7.4.60.0100.01020.08
7.4.50.0060.01219.95
7.4.40.0060.01220.09
7.4.30.0090.00920.26
7.4.00.0110.00418.68
7.3.330.0030.00313.06
7.3.320.0030.00313.01
7.3.310.0060.00319.78
7.3.300.0060.00319.89
7.3.290.0030.00519.97
7.3.280.0110.01019.98
7.3.270.0160.00319.99
7.3.260.0110.01420.01
7.3.250.0120.01019.94
7.3.240.0050.01919.93
7.3.230.0090.01219.85
7.3.210.0070.01319.92
7.3.200.0130.00619.79
7.3.190.0160.00320.11
7.3.180.0060.01420.19
7.3.170.0140.00920.30
7.3.160.0000.01819.83
7.2.330.0100.01019.96
7.2.320.0150.00320.11
7.2.310.0150.01319.93
7.2.300.0100.01120.17
7.2.290.0120.00619.91
7.2.60.0130.00720.59
7.2.00.0150.00423.29
7.1.200.0160.00619.61
7.1.100.0160.00922.23
7.1.70.0070.00720.91
7.1.60.0200.00720.86
7.1.50.0080.01520.74
7.1.00.0070.07725.91
7.0.200.0120.00020.82
7.0.60.0070.08325.38
7.0.50.0030.07017.86
7.0.40.0070.05023.38
7.0.30.0270.05723.57
7.0.20.0300.06023.48
7.0.10.0070.07023.46
7.0.00.0000.04723.41
5.6.280.0100.05324.70
5.6.210.0000.08024.27
5.6.200.0170.05018.21
5.6.190.0070.08724.02
5.6.180.0400.07323.86
5.6.170.0270.06323.97
5.6.160.0030.09323.79
5.6.150.0030.06718.22
5.6.140.0170.06318.09
5.6.130.0030.05718.21
5.6.120.0130.08324.43
5.6.110.0070.03724.69
5.6.100.0070.05324.48
5.6.90.0000.07024.65
5.6.80.0100.07723.95
5.5.350.0130.07323.91
5.5.340.0130.06718.00
5.5.330.0030.08023.66
5.5.320.0630.07023.73
5.5.310.0130.05023.59
5.5.300.0070.06017.91
5.5.290.0000.04317.89
5.5.280.0070.08724.45
5.5.270.0030.07024.52
5.5.260.0100.07324.35
5.5.250.0170.06324.06
5.5.240.0130.06323.81

preferences:
53.42 ms | 401 KiB | 5 Q