3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateFormat = new \IntlDateFormatter('ar_MO', \IntlDateFormatter::SHORT, \IntlDateFormatter::NONE); var_dump(date($dateFormat->getPattern())); var_dump(date('d/M/y')); var_dump($dateFormat->getPattern());

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.1.110.0060.00320.39
8.1.100.0080.00020.32
8.1.90.0000.00820.36
8.1.80.0000.00920.41
8.1.70.0070.00020.53
8.1.60.0030.00620.46
8.1.50.0000.01020.51
8.1.40.0000.00820.55
8.1.30.0080.00020.88
8.1.20.0030.00620.69
8.1.10.0030.00620.38
8.1.00.0070.00420.49
8.0.240.0000.00920.03
8.0.230.0040.00420.09
8.0.220.0000.00719.97
8.0.210.0020.00519.88
8.0.200.0030.00519.89
8.0.190.0000.00819.88
8.0.180.0000.00919.80
8.0.170.0040.00419.79
8.0.160.0040.00419.70
8.0.150.0000.00819.66
8.0.140.0000.00919.51
8.0.130.0060.00013.38
8.0.120.0000.00819.78
8.0.110.0030.00620.06
8.0.100.0000.00819.64
8.0.90.0000.00820.04
8.0.80.0050.01220.03
8.0.70.0090.00019.75
8.0.60.0040.00420.12
8.0.50.0080.00020.12
8.0.30.0090.00919.96
8.0.20.0140.00820.36
8.0.10.0040.00419.97
8.0.00.0110.01019.89
7.4.300.0000.00719.71
7.4.290.0050.00319.59
7.4.280.0000.00919.78
7.4.270.0090.00319.66
7.4.260.0020.00313.10
7.4.250.0000.00819.61
7.4.240.0060.00319.81
7.4.230.0000.00719.42
7.4.220.0010.00619.65
7.4.210.0090.00619.70
7.4.200.0070.00019.80
7.4.130.0150.00819.67
7.4.120.0090.01119.55
7.4.110.0100.01419.71
7.4.100.0110.00719.60
7.4.90.0160.00319.66
7.4.80.0160.00319.57
7.4.70.0090.00919.58
7.4.60.0110.00819.57
7.4.50.0040.01319.86
7.4.40.0070.01119.61
7.4.30.0110.00719.45
7.4.20.0150.00819.50
7.4.10.0060.01219.45
7.4.00.0110.00819.65
7.3.330.0070.00319.48
7.3.320.0050.00013.10
7.3.310.0000.00719.09
7.3.300.0000.00719.25
7.3.290.0110.00619.25
7.3.280.0120.01219.03
7.3.260.0100.01319.35
7.3.230.0060.01419.16
7.3.210.0150.00319.91
7.3.200.0100.01319.37
7.3.190.0050.01219.36
7.3.180.0030.01619.55
7.3.170.0070.01119.74
7.3.160.0130.00819.47
7.3.150.0090.00919.58
7.3.140.0090.01219.86
7.3.130.0070.01019.25
7.3.120.0090.01319.45
7.3.110.0120.00819.48
7.3.100.0080.01119.38
7.3.90.0030.01619.24
7.3.80.0100.01019.08
7.3.70.0140.00519.50
7.3.60.0070.01319.15
7.3.50.0160.00419.23
7.3.40.0120.01319.55
7.3.30.0110.00819.46
7.3.20.0150.00719.15
7.3.10.0030.01619.32
7.3.00.0130.00719.34
7.2.330.0090.00919.48
7.2.310.0000.01919.39
7.2.300.0120.00719.77
7.2.290.0090.00919.34
7.2.280.0120.01219.36
7.2.270.0140.00619.57
7.2.260.0060.01519.52
7.2.250.0060.01619.53
7.2.240.0080.01119.34
7.2.230.0060.01819.66
7.2.220.0150.00619.52
7.2.210.0100.01019.46
7.2.200.0110.00819.47
7.2.190.0130.00719.45
7.2.180.0130.00819.36
7.2.170.0110.00819.35
7.2.160.0030.01619.66
7.2.150.0140.00919.42
7.2.140.0080.01519.41
7.2.130.0060.01319.23
7.2.120.0110.00919.32
7.2.110.0130.00619.74
7.2.100.0240.01519.43
7.2.90.0080.01319.89
7.2.80.0190.01419.76
7.2.70.0270.00819.59
7.2.60.0160.00419.70
7.2.50.0100.01319.36
7.2.40.0030.01819.79
7.2.30.0110.01119.42
7.2.20.0150.00619.68
7.2.10.0070.01419.64
7.2.00.0130.01019.82

preferences:
55.81 ms | 406 KiB | 5 Q