3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date1 = new DateTime('13-04-1956'); $date2 = new DateTime('01-01-1900'); $date3 = new DateTime('31-12-2050'); $fmt = new \IntlDateFormatter( 'fr', \IntlDateFormatter::FULL, \IntlDateFormatter::NONE ); echo $fmt->format($date1), "\n", $fmt->format($date2), "\n", $fmt->format($date3);

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.00721.56
8.3.60.0160.00021.68
8.3.50.0130.00621.52
8.3.40.0040.01121.34
8.3.30.0100.00721.04
8.3.20.0080.00024.18
8.3.10.0030.00524.66
8.3.00.0030.00526.16
8.2.190.0130.00321.79
8.2.180.0130.01025.92
8.2.170.0130.00721.14
8.2.160.0070.00724.41
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00326.35
8.2.110.0110.00424.27
8.2.100.0080.00420.97
8.2.90.0040.00421.57
8.2.80.0030.00620.75
8.2.70.0040.00720.75
8.2.60.0030.00621.18
8.2.50.0030.00620.88
8.2.40.0040.01322.76
8.2.30.0000.00821.18
8.2.20.0060.00321.10
8.2.10.0080.00021.48
8.2.00.0030.00621.59
8.1.280.0060.01625.92
8.1.270.0030.00624.39
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0000.01025.75
8.1.230.0130.00020.64
8.1.220.0060.00320.89
8.1.210.0040.00420.61
8.1.200.0240.00020.23
8.1.190.0130.00320.23
8.1.180.0060.00320.41
8.1.170.0080.00021.83
8.1.160.0080.00021.18
8.1.150.0050.00321.18
8.1.140.0000.00821.19
8.1.130.0040.00422.39
8.1.120.0040.00820.61
8.1.110.0030.00620.58
8.1.100.0000.00820.55
8.1.90.0050.00320.65
8.1.80.0090.00020.69
8.1.70.0050.00320.68
8.1.60.0060.00620.65
8.1.50.0060.00320.65
8.1.40.0080.00020.64
8.1.30.0040.00421.06
8.1.20.0030.00620.59
8.1.10.0000.00920.66
8.1.00.0070.00320.73
8.0.300.0050.00320.08
8.0.290.0080.00020.00
8.0.280.0050.00320.81
8.0.270.0000.00820.46
8.0.260.0000.00720.08
8.0.250.0000.00920.48
8.0.240.0020.00520.27
8.0.230.0000.00720.13
8.0.220.0050.00220.55
8.0.210.0060.00320.39
8.0.200.0040.00420.18
8.0.190.0050.00520.26
8.0.180.0080.00020.39
8.0.170.0060.00320.43
8.0.160.0000.00820.33
8.0.150.0000.00819.91
8.0.140.0040.00420.01
8.0.130.0050.00013.51
8.0.120.0060.00320.00
8.0.110.0000.00820.32
8.0.100.0040.00420.20
8.0.90.0030.00520.33
8.0.80.0070.01320.32
8.0.70.0060.00320.29
8.0.60.0050.00319.95
8.0.50.0050.00520.36
8.0.30.0150.00319.89
8.0.20.0080.01520.62
8.0.10.0220.01420.20
8.0.00.0170.00820.35
7.4.330.0000.00415.55
7.4.320.0040.00420.18
7.4.300.0040.00419.82
7.4.290.0040.00419.72
7.4.280.0040.00420.11
7.4.270.0040.00419.89
7.4.260.0040.00720.14
7.4.250.0040.00420.13
7.4.240.0030.00519.80
7.4.230.0050.00320.24
7.4.220.0020.00619.94
7.4.210.0090.00820.13
7.4.200.0030.00619.77
7.4.150.0110.01220.03
7.4.140.0150.00919.79
7.4.130.0190.00619.79
7.4.120.0130.01019.77
7.4.110.0110.01319.87
7.4.100.0210.00919.87
7.4.90.0150.01719.85
7.4.80.0130.01119.71
7.4.70.0120.01019.76
7.4.60.0140.00919.86
7.4.50.0110.01219.79
7.4.40.0060.01419.76
7.4.30.0090.01119.83
7.4.20.0090.01219.67
7.4.10.0270.01519.91
7.4.00.0130.01119.61
7.3.330.0220.00019.58
7.3.320.0050.00013.33
7.3.310.0040.00419.12
7.3.300.0040.00419.19
7.3.290.0090.01019.35
7.3.270.0110.01219.80
7.3.260.0210.00919.44
7.3.250.0150.00919.70
7.3.240.0140.01419.70
7.3.230.0220.01219.42
7.3.220.0190.01719.53
7.3.210.0200.01119.53
7.3.200.0170.00319.65
7.3.190.0200.01319.76
7.3.180.0110.01319.69
7.3.170.0120.00819.84
7.3.160.0160.00719.33
7.3.150.0120.01119.85
7.3.140.0130.00819.38
7.3.130.0070.01319.68
7.3.120.0150.00519.54
7.3.110.0180.00319.69
7.3.100.0090.01019.69
7.3.90.0090.01319.54
7.3.80.0170.00819.78
7.3.70.0110.01119.55
7.3.60.0120.00819.44
7.3.50.0120.00819.56
7.3.40.0130.00819.33
7.3.30.0160.00419.49
7.3.20.0380.01119.38
7.3.10.0240.01119.49
7.3.00.0210.01419.46

preferences:
42.04 ms | 401 KiB | 5 Q