3v4l.org

run code in 300+ PHP versions simultaneously
<?php $intlDateFormatter = new IntlDateFormatter('it', 2, -1, 'Europe/Rome', 1, 'dd/MM/yyyy'); $intlDateFormatter->setLenient(false); $date = '28/05/1972'; // $intlDateFormatter->setLenient(true); $res = $intlDateFormatter->parse($date); var_dump($intlDateFormatter->getErrorMessage());

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.0100.02022.11
8.3.60.0100.03120.63
8.3.50.0160.02623.05
8.3.40.0150.00921.09
8.3.30.0160.00720.92
8.3.20.0060.01622.53
8.3.10.0110.00825.80
8.3.00.0040.01225.86
8.2.190.0130.02622.54
8.2.180.0170.02422.05
8.2.170.0080.00822.96
8.2.160.0160.00622.52
8.2.150.0130.00724.18
8.2.140.0140.00724.66
8.2.130.0070.01022.82
8.2.120.0080.00026.35
8.2.110.0080.00324.58
8.2.100.0150.00020.91
8.2.90.0030.00621.56
8.2.80.0080.00020.63
8.2.70.0060.00320.12
8.2.60.0080.00020.93
8.2.50.0090.00020.36
8.2.40.0110.00023.01
8.2.30.0000.00821.78
8.2.20.0080.00020.68
8.2.10.0000.00921.10
8.2.00.0060.00321.18
8.1.280.0120.02125.92
8.1.270.0100.00621.26
8.1.260.0040.00428.09
8.1.250.0060.00328.09
8.1.240.0060.00324.71
8.1.230.0080.00424.01
8.1.220.0030.00520.91
8.1.210.0060.00620.48
8.1.200.0050.00520.48
8.1.190.0030.00720.13
8.1.180.0040.00420.36
8.1.170.0000.01021.56
8.1.160.0050.00322.98
8.1.150.0000.00821.05
8.1.140.0000.01022.62
8.1.130.0040.00420.76
8.1.120.0080.00020.47
8.1.110.0030.00620.50
8.1.100.0030.00520.36
8.1.90.0040.00420.53
8.1.80.0030.00620.29
8.1.70.0050.00220.53
8.1.60.0030.00520.53
8.1.50.0060.00320.43
8.1.40.0000.00820.49
8.1.30.0000.00820.59
8.1.20.0060.00320.72
8.1.10.0060.00320.43
8.1.00.0030.00620.53
8.0.300.0040.00419.91
8.0.290.0030.00919.75
8.0.280.0040.00420.61
8.0.270.0050.00320.31
8.0.260.0040.00420.24
8.0.250.0000.00820.11
8.0.240.0060.00320.02
8.0.230.0030.00619.93
8.0.220.0050.00320.09
8.0.210.0000.00819.96
8.0.200.0040.00419.96
8.0.190.0030.00620.07
8.0.180.0040.00420.01
8.0.170.0030.00620.08
8.0.160.0040.00420.04
8.0.150.0040.00419.79
8.0.140.0040.00419.90
8.0.130.0000.00613.38
8.0.120.0030.00619.81
8.0.110.0030.00620.02
8.0.100.0030.00620.16
8.0.90.0050.00319.86
8.0.80.0100.00720.18
8.0.70.0040.00420.10
8.0.60.0030.00519.70
8.0.50.0000.00820.18
8.0.30.0100.01020.34
8.0.20.0100.01220.26
8.0.10.0080.00020.02
8.0.00.0150.00919.90
7.4.330.0000.00516.76
7.4.320.0030.00319.91
7.4.300.0000.00819.69
7.4.290.0040.00419.93
7.4.280.0060.00320.02
7.4.270.0040.00419.81
7.4.260.0080.00019.78
7.4.250.0000.00819.68
7.4.240.0040.00419.92
7.4.230.0040.00419.70
7.4.220.0070.01419.88
7.4.210.0080.01219.87
7.4.200.0000.00720.05
7.4.160.0000.01619.76
7.4.150.0080.01119.70
7.4.140.0120.00819.69
7.4.130.0060.01519.81
7.4.120.0080.01319.74
7.4.110.0130.01319.68
7.4.100.0090.01219.87
7.4.90.0110.01419.68
7.4.80.0060.01219.93
7.4.70.0130.01019.88
7.4.60.0120.00619.91
7.4.50.0070.00719.68
7.4.40.0070.01119.81
7.4.30.0180.00619.53
7.4.00.0110.00818.28
7.3.330.0000.00613.02
7.3.320.0030.00313.25
7.3.310.0000.00719.25
7.3.300.0060.00319.45
7.3.290.0000.00719.30
7.3.280.0130.00719.33
7.3.270.0110.00719.59
7.3.260.0090.00919.37
7.3.250.0100.01219.49
7.3.240.0110.00919.39
7.3.230.0130.00319.70
7.3.210.0110.00819.52
7.3.200.0090.00919.39
7.3.190.0130.01219.74
7.3.180.0030.01419.29
7.3.170.0070.01019.32
7.3.160.0070.01019.60
7.3.120.0160.00317.93
7.3.110.0070.01517.88
7.3.100.0140.00617.74
7.3.90.0040.01117.84
7.3.80.0070.01117.55
7.3.70.0060.00917.80
7.3.60.0070.00717.66
7.3.50.0070.01017.50
7.3.40.0090.00617.66
7.3.30.0030.01017.61
7.3.20.0030.00619.75
7.3.10.0090.00619.75
7.3.00.0070.00719.27
7.2.330.0090.01019.45
7.2.320.0060.01619.17
7.2.310.0170.00719.75
7.2.300.0100.00719.57
7.2.290.0100.00719.68
7.2.250.0040.01617.87
7.2.240.0160.00018.03
7.2.230.0130.00318.34
7.2.220.0130.00318.00
7.2.210.0030.00918.10
7.2.200.0030.01418.23
7.2.190.0070.01318.36
7.2.180.0090.00618.00
7.2.170.0000.01118.12
7.2.160.0060.01018.20
7.2.150.0140.00719.70
7.2.140.0100.00319.97
7.2.130.0040.01119.94
7.2.120.0030.01420.00
7.2.110.0060.00619.80
7.2.100.0030.01320.09
7.2.90.0070.01019.89
7.2.80.0050.00820.08
7.2.70.0100.00719.74
7.2.60.0040.01119.88
7.2.50.0090.00620.03
7.2.40.0080.00819.91
7.2.30.0120.00619.80
7.2.20.0000.01419.81
7.2.10.0030.00819.95
7.2.00.0050.01021.26
7.1.330.0120.00919.07
7.1.320.0100.00719.02
7.1.310.0030.01019.09
7.1.300.0000.01419.03
7.1.290.0100.00619.04
7.1.280.0060.00319.06
7.1.270.0030.01219.20
7.1.260.0060.00919.08
7.1.250.0110.00319.04
7.1.240.0000.00919.15
7.1.230.0040.00718.97
7.1.220.0090.00619.19
7.1.210.0070.00718.93
7.1.200.0070.00719.04
7.1.190.0070.00719.11
7.1.180.0040.01118.89
7.1.170.0100.00318.96
7.1.160.0090.00619.19
7.1.150.0050.00519.04
7.1.140.0030.01419.12
7.1.130.0040.00718.97
7.1.120.0040.01519.12
7.1.110.0100.01019.07
7.1.100.0050.00920.44
7.1.90.0030.01019.22
7.1.80.0060.00919.09
7.1.70.0080.00519.75
7.1.60.0030.01720.01
7.1.50.0110.00819.72
7.1.40.0040.01119.04
7.1.30.0030.01218.96
7.1.20.0030.01019.11
7.1.10.0040.01419.13
7.1.00.0030.04722.44
7.0.330.0090.00318.79
7.0.320.0140.00418.85
7.0.310.0000.01618.80
7.0.300.0030.00718.81
7.0.290.0090.00618.69
7.0.280.0040.01118.52
7.0.270.0130.00318.69
7.0.260.0030.01318.53
7.0.250.0040.01118.87
7.0.240.0000.01218.79
7.0.230.0060.01018.79
7.0.220.0060.00618.77
7.0.210.0100.00318.83
7.0.200.0080.00419.38
7.0.190.0000.01518.71
7.0.180.0070.00318.88
7.0.170.0000.01118.97
7.0.160.0150.00018.71
7.0.150.0060.01018.81
7.0.140.0000.01418.72
7.0.130.0070.00718.71
7.0.120.0030.01418.47
7.0.110.0080.00418.64
7.0.100.0070.01018.96
7.0.90.0030.01018.56
7.0.80.0130.00018.87
7.0.70.0080.00318.59
7.0.60.0140.04021.87
7.0.50.0070.04218.20
7.0.40.0110.04219.90
7.0.30.0120.02719.91
7.0.20.0130.03819.91
7.0.10.0090.03919.78
7.0.00.0060.02319.84
5.6.400.0080.00417.48
5.6.390.0080.00817.56
5.6.380.0090.00917.36
5.6.370.0050.01217.84
5.6.360.0000.01417.55
5.6.350.0090.00617.45
5.6.340.0050.00517.70
5.6.330.0040.01417.25
5.6.320.0060.01317.70
5.6.310.0060.00917.88
5.6.300.0060.00617.77
5.6.290.0040.01117.54
5.6.280.0030.03120.91
5.6.270.0100.00617.53
5.6.260.0080.00417.35
5.6.250.0080.00817.43
5.6.240.0090.00617.50
5.6.230.0090.00917.63
5.6.220.0160.00017.34
5.6.210.0030.04920.72
5.6.200.0040.02417.79
5.6.190.0050.03220.52
5.6.180.0230.04620.56
5.6.170.0170.04320.48
5.6.160.0050.05020.50
5.6.150.0050.02517.72
5.6.140.0050.04817.70
5.6.130.0050.03917.96
5.6.120.0030.04620.87
5.6.110.0030.02320.65
5.6.100.0040.04920.81
5.6.90.0140.03720.78
5.6.80.0090.03920.60
5.6.70.0130.00316.94
5.6.60.0070.00717.25
5.6.50.0060.00917.35
5.6.40.0110.00017.48
5.6.30.0090.00317.47
5.6.20.0040.01417.57
5.6.10.0070.01017.42
5.6.00.0030.01017.21
5.5.380.0060.00617.68
5.5.370.0040.01117.39
5.5.360.0040.00817.32
5.5.350.0030.04120.69
5.5.340.0030.04917.45
5.5.330.0070.04520.40
5.5.320.0330.02920.43
5.5.310.0180.03720.36
5.5.300.0080.03017.74
5.5.290.0040.02617.77
5.5.280.0050.03820.85
5.5.270.0050.03220.74
5.5.260.0080.04320.72
5.5.250.0150.03220.35
5.5.240.0080.04020.53
5.5.230.0090.00617.00
5.5.220.0000.01417.36
5.5.210.0000.01317.55
5.5.200.0030.01417.23
5.5.190.0070.00417.09
5.5.180.0030.01317.01
5.5.170.0000.01117.12
5.5.160.0030.01017.36
5.5.150.0090.00017.61
5.5.140.0060.00617.63
5.5.130.0070.00717.61
5.5.120.0120.00317.38
5.5.110.0030.01417.19
5.5.100.0000.01516.93
5.5.90.0070.00417.26
5.5.80.0030.01017.52
5.5.70.0080.00317.41
5.5.60.0030.00617.46
5.5.50.0090.00317.01
5.5.40.0090.00617.64
5.5.30.0080.00816.75
5.5.20.0080.00416.95
5.5.10.0070.00717.58
5.5.00.0030.01217.17

preferences:
57.59 ms | 401 KiB | 5 Q