3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(INTL_ICU_VERSION); $formatter = new \IntlDateFormatter( 'es_ES', \IntlDateFormatter::NONE, \IntlDateFormatter::NONE, ini_get('date.timezone') ); $formatter->setPattern('ccc'); print_r([ $formatter->format(new DateTime('2018-09-05')), $formatter->format(new DateTime('2018-09-06')), $formatter->format(new DateTime('2018-09-07')), $formatter->format(new DateTime('2018-09-08')), $formatter->format(new DateTime('2018-09-09')), $formatter->format(new DateTime('2018-09-10')), $formatter->format(new DateTime('2018-09-11')), ]); $formatter = new \IntlDateFormatter( 'es_MX', \IntlDateFormatter::NONE, \IntlDateFormatter::NONE, ini_get('date.timezone') ); $formatter->setPattern('ccc'); print_r([ $formatter->format(new DateTime('2018-09-05')), $formatter->format(new DateTime('2018-09-06')), $formatter->format(new DateTime('2018-09-07')), $formatter->format(new DateTime('2018-09-08')), $formatter->format(new DateTime('2018-09-09')), $formatter->format(new DateTime('2018-09-10')), $formatter->format(new DateTime('2018-09-11')), ]);

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.120.0040.01524.20
8.3.110.0160.00821.67
8.3.100.0130.00924.06
8.3.90.0070.01326.77
8.3.80.0030.00720.25
8.3.70.0030.01321.83
8.3.60.0070.01821.93
8.3.50.0100.01021.02
8.3.40.0060.01021.29
8.3.30.0120.00421.26
8.3.20.0130.00322.67
8.3.10.0030.00623.13
8.3.00.0000.00922.19
8.2.240.0030.00622.60
8.2.230.0050.00522.58
8.2.220.0050.00537.54
8.2.210.0130.00726.77
8.2.200.0000.01022.16
8.2.190.0060.01020.00
8.2.180.0070.01020.35
8.2.170.0100.00622.96
8.2.160.0080.00821.63
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00424.16
8.2.120.0080.00026.35
8.2.110.0000.00924.57
8.2.100.0110.00420.90
8.2.90.0040.00423.08
8.2.80.0030.00621.28
8.2.70.0030.00621.18
8.2.60.0030.00621.16
8.2.50.0060.00321.00
8.2.40.0070.00221.72
8.2.30.0000.00821.79
8.2.20.0030.00621.30
8.2.10.0000.00821.30
8.2.00.0040.00421.31
8.1.290.0070.00330.84
8.1.280.0130.01025.92
8.1.270.0070.00326.23
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0070.00326.25
8.1.230.0110.00723.86
8.1.220.0040.00420.91
8.1.210.0060.00322.29
8.1.200.0060.00620.73
8.1.190.0060.00320.60
8.1.180.0000.01020.65
8.1.170.0160.00521.88
8.1.160.0110.00321.50
8.1.150.0050.00521.39
8.1.140.0030.00622.84
8.1.130.0040.00421.29
8.1.120.0000.00820.75
8.1.110.0030.00620.80
8.1.100.0040.00420.84
8.1.90.0040.00420.78
8.1.80.0040.00420.85
8.1.70.0030.00520.84
8.1.60.0030.00620.89
8.1.50.0000.00820.84
8.1.40.0030.00620.81
8.1.30.0000.00921.09
8.1.20.0000.00920.78
8.1.10.0070.00320.84
8.1.00.0060.00320.86
8.0.300.0030.00522.38
8.0.290.0100.00720.00
8.0.280.0040.00420.88
8.0.270.0030.00720.48
8.0.260.0000.00721.99
8.0.250.0000.00820.48
8.0.240.0090.00320.55
8.0.230.0030.00720.50
8.0.220.0090.00020.43
8.0.210.0030.00620.43
8.0.200.0060.00320.47
8.0.190.0060.00320.53
8.0.180.0000.00820.40
8.0.170.0000.00920.41
8.0.160.0000.00920.37
8.0.150.0030.00520.15
8.0.140.0060.00620.30
8.0.130.0030.00313.40
8.0.120.0030.00620.30
8.0.110.0090.00020.19
8.0.100.0050.00320.31
8.0.90.0040.00420.25
8.0.80.0100.00720.33
8.0.70.0000.00920.21
8.0.60.0080.00020.18
8.0.50.0030.00620.39
8.0.30.0080.00820.59
8.0.20.0110.01120.54
8.0.10.0030.00620.17
8.0.00.0120.01520.20
7.4.330.0000.00515.55
7.4.320.0070.00020.06
7.4.300.0070.00020.15
7.4.290.0040.00420.05
7.4.280.0090.00019.84
7.4.270.0050.00320.04
7.4.260.0060.00320.07
7.4.250.0060.00319.96
7.4.240.0030.00620.17
7.4.230.0040.00419.95
7.4.220.0120.00920.13
7.4.210.0070.02020.08
7.4.200.0040.00419.82
7.4.160.0120.01120.08
7.4.150.0090.00919.98
7.4.140.0100.01320.07
7.4.130.0100.01619.92
7.4.120.0130.01120.10
7.4.110.0100.01319.97
7.4.100.0080.01720.07
7.4.90.0000.01919.94
7.4.80.0130.00619.86
7.4.70.0080.01119.85
7.4.60.0030.01519.95
7.4.50.0090.00619.67
7.4.40.0060.01320.18
7.4.30.0060.01319.94
7.4.00.0100.00718.37
7.3.330.0050.00013.16
7.3.320.0000.00513.05
7.3.310.0000.00819.40
7.3.300.0030.00619.45
7.3.290.0070.01619.51
7.3.280.0090.01019.57
7.3.270.0140.00619.71
7.3.260.0100.01319.97
7.3.250.0150.00519.56
7.3.240.0120.01219.64
7.3.230.0110.00719.86
7.3.210.0200.00319.64
7.3.200.0090.01219.45
7.3.190.0110.01119.75
7.3.180.0140.01419.98
7.3.170.0110.00719.48
7.3.160.0100.01019.71
7.3.120.0110.00417.94
7.3.110.0060.00918.30
7.3.100.0130.00318.12
7.3.90.0040.00718.06
7.3.80.0040.01118.11
7.3.70.0070.00718.14
7.3.60.0100.00718.04
7.3.50.0000.01418.25
7.3.40.0080.00817.89
7.3.30.0060.00618.01
7.3.20.0070.01119.79
7.3.10.0050.00819.57
7.3.00.0040.01319.68
7.2.330.0060.01519.68
7.2.320.0070.01419.88
7.2.310.0100.01019.86
7.2.300.0130.00719.65
7.2.290.0100.01719.74
7.2.240.0030.01018.40
7.2.230.0070.01118.26
7.2.220.0070.00718.25
7.2.210.0070.01118.55
7.2.200.0090.00618.21
7.2.190.0120.00618.27
7.2.180.0090.00618.40
7.2.170.0070.01018.52
7.2.160.0060.01018.28
7.2.150.0060.00620.05
7.2.140.0000.01420.08
7.2.130.0090.00320.13
7.2.120.0060.00919.98
7.2.110.0050.00920.04
7.2.100.0090.01020.27
7.2.90.0050.00720.33
7.2.80.0050.01120.24
7.2.70.0060.00820.30
7.2.60.0070.00720.20
7.2.50.0080.01020.23
7.2.40.0050.01020.09
7.2.30.0080.00720.07
7.2.20.0030.01020.24
7.2.10.0100.01020.20
7.2.00.0080.01020.36
7.1.330.0030.01018.95
7.1.320.0060.00919.00
7.1.310.0070.00719.38
7.1.300.0000.01718.80
7.1.290.0040.01219.26
7.1.280.0070.01019.03
7.1.270.0030.00919.10
7.1.260.0100.00319.10
7.1.250.0050.01019.01
7.1.200.0100.01019.20
7.1.80.0050.01421.07
7.1.70.0140.00320.19
7.1.60.0200.01037.57
7.1.50.0220.01737.20
7.1.40.0130.02037.22
7.1.30.0160.01937.25
7.1.20.0170.02237.41
7.1.10.0000.02019.74
7.1.00.0030.01619.95
7.0.200.0090.00919.91
7.0.190.0120.00719.64
7.0.180.0160.01019.62
7.0.170.0040.01519.75
7.0.160.0060.01619.81
7.0.150.0130.00819.80
7.0.140.0160.00519.92
7.0.130.0100.00719.94
7.0.120.0030.01919.92
7.0.110.0040.01119.70
7.0.100.0090.01319.71
7.0.90.0050.01419.53
7.0.80.0090.00919.84
7.0.70.0040.01519.66
7.0.60.0000.01919.38
7.0.50.0070.01419.47
7.0.40.0070.01419.80
7.0.30.0110.01119.70
7.0.20.0050.01419.73
7.0.10.0090.01219.91
7.0.00.0090.01219.84

preferences:
66.75 ms | 403 KiB | 5 Q