3v4l.org

run code in 500+ PHP versions simultaneously
<?php $timezone = new DateTimeZone("Europe/Amsterdam"); $date = new DateTime("1940-01-01 00:00:00", $timezone); var_dump($date); $formatter = new IntlDateFormatter("en-US"); var_dump($formatter->format($date)); var_dump("INTL_ICU_VERSION: " . INTL_ICU_VERSION);

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.5.90.0040.00317.11
8.5.80.0090.00917.14
8.5.70.0050.00418.90
8.5.60.0070.01017.10
8.5.50.0060.00717.14
8.5.30.0070.01119.48
8.5.20.0110.00720.05
8.5.10.0100.00820.27
8.5.00.0190.00926.05
8.4.240.0160.01625.57
8.4.230.0150.01225.37
8.4.220.0140.01425.46
8.4.210.0140.01725.48
8.4.180.0140.01631.40
8.4.170.0150.01229.73
8.4.160.0160.01329.75
8.4.150.0130.00819.76
8.4.140.0440.01421.02
8.4.130.0130.01021.92
8.4.120.0170.00824.46
8.4.110.0130.01326.31
8.4.100.0150.00721.55
8.4.90.0140.00822.41
8.4.80.0150.00721.77
8.4.70.0080.01321.68
8.4.60.0140.00922.09
8.4.50.0160.00821.28
8.4.40.0070.00323.38
8.4.30.0030.00724.59
8.4.20.0170.00329.66
8.4.10.0030.00727.54
8.3.320.0100.01724.35
8.3.310.0260.00424.38
8.3.300.0100.01728.63
8.3.290.0130.01724.46
8.3.280.0520.01724.07
8.3.270.0150.00620.20
8.3.260.0150.00720.54
8.3.250.0130.00722.48
8.3.240.0110.01120.48
8.3.230.0110.01120.27
8.3.220.0050.00321.03
8.3.210.0090.01120.50
8.3.200.0050.00420.50
8.3.190.0130.00720.80
8.3.180.0020.00720.65
8.3.170.0070.01320.90
8.3.160.0030.00622.14
8.3.150.0070.01420.29
8.3.140.0090.00020.83
8.3.130.0090.00021.91
8.3.120.0060.00622.39
8.3.110.0240.00421.91
8.3.100.0050.00524.06
8.3.90.0130.01026.77
8.3.80.0150.00622.18
8.3.70.0100.00722.18
8.3.60.0170.00320.50
8.3.50.0100.01020.34
8.3.40.0160.00322.84
8.3.30.0060.01121.29
8.3.20.0040.00424.18
8.3.10.0090.00024.66
8.3.00.0090.00026.16
8.2.320.0120.01824.10
8.2.310.0110.01624.01
8.2.300.0150.01524.00
8.2.290.0140.00924.10
8.2.280.0220.00422.23
8.2.270.0130.00721.00
8.2.260.0160.00320.46
8.2.250.0000.00920.59
8.2.240.0030.00720.85
8.2.230.0100.00022.58
8.2.220.0100.01037.54
8.2.210.0080.00326.77
8.2.200.0200.00320.25
8.2.190.0180.00320.25
8.2.180.0090.01520.63
8.2.170.0100.01021.64
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0130.00723.41
8.2.110.0110.00723.98
8.2.100.0060.00621.10
8.2.90.0210.00521.75
8.2.80.0030.00621.82
8.2.70.0100.00764.75
8.2.60.0080.00650.23
8.2.50.0060.00950.16
8.2.40.0130.00427.36
8.2.30.0130.00650.16
8.2.20.0090.00750.10
8.2.10.0110.00750.04
8.2.00.0100.00750.04
8.1.340.0130.01423.68
8.1.330.0110.01025.62
8.1.320.0140.00720.09
8.1.310.0130.00722.35
8.1.300.0110.01121.75
8.1.290.0060.00320.25
8.1.280.0070.01025.92
8.1.270.0030.00726.35
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0080.00422.63
8.1.230.0060.00624.15
8.1.220.0100.00021.04
8.1.210.0030.00621.93
8.1.200.0080.00550.03
8.1.190.0120.00849.90
8.1.180.0100.00349.91
8.1.170.0140.00350.04
8.1.160.0130.00650.09
8.1.150.0070.01049.97
8.1.140.0120.00650.10
8.1.130.0140.00650.04
8.1.120.0120.00749.98
8.1.110.0120.00650.04
8.1.100.0170.00350.04
8.1.90.0100.00750.04
8.1.80.0140.00649.98
8.1.70.0100.00750.09
8.1.60.0130.00650.09
8.1.50.0150.00350.04
8.1.40.0120.00849.91
8.1.30.0170.00350.15
8.1.20.0110.00950.15
8.1.10.0140.00550.16
8.1.00.0130.00850.10
8.0.300.0000.00720.34
8.0.290.0100.00348.29
8.0.280.0110.00648.47
8.0.270.0120.00448.47
8.0.260.0130.00448.47
8.0.250.0110.00648.47
8.0.240.0130.00448.47
8.0.230.0160.00148.47
8.0.220.0130.00448.47
8.0.210.0140.00348.47
8.0.200.0100.00848.47
8.0.190.0160.00348.47
8.0.180.0150.00448.47
8.0.170.0140.00248.47
8.0.160.0170.00148.47
8.0.150.0100.00748.47
8.0.140.0110.00748.47
8.0.130.0110.00748.47
8.0.120.0160.00248.47
8.0.110.0120.00348.47
8.0.100.0130.00848.47
8.0.90.0100.00748.47
8.0.80.0120.00648.47
8.0.70.0130.00448.47
8.0.60.0090.00848.47
8.0.50.0110.00548.47
8.0.30.0220.00148.47
8.0.20.0140.00448.47
8.0.10.0140.00348.47

preferences:
52.47 ms | 1185 KiB | 5 Q