3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('2013-12-31 10:36:16'); echo $date->format('Y-m-d H:i:s') . "\n"; $formatter = IntlDateFormatter::create('ru_RU', IntlDateFormatter::FULL, IntlDateFormatter::FULL, null); $formatter->setPattern('Y-m-d H:i:s'); echo $formatter->format($date);

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.60.0030.01321.52
8.3.50.0090.01124.57
8.3.40.0140.00321.18
8.3.30.0030.01321.07
8.3.20.0040.00422.63
8.3.10.0040.00424.14
8.3.00.0040.00422.25
8.2.180.0060.01621.66
8.2.170.0100.00622.96
8.2.160.0130.00321.84
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00024.49
8.2.120.0050.00326.35
8.2.110.0080.00323.88
8.2.100.0030.00921.05
8.2.90.0080.00021.58
8.2.80.0090.00020.75
8.2.70.0030.00620.88
8.2.60.0000.00820.93
8.2.50.0030.00622.53
8.2.40.0040.00422.88
8.2.30.0030.00521.66
8.2.20.0000.00820.97
8.2.10.0040.00421.18
8.2.00.0000.00921.06
8.1.280.0030.01425.92
8.1.270.0090.00025.89
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0070.00324.41
8.1.230.0080.00420.89
8.1.220.0040.00420.78
8.1.210.0030.00620.60
8.1.200.0070.00320.38
8.1.190.0060.00320.38
8.1.180.0040.00420.60
8.1.170.0080.00021.82
8.1.160.0040.00426.19
8.1.150.0040.00421.24
8.1.140.0000.00822.59
8.1.130.0000.00720.78
8.1.120.0050.00520.85
8.1.110.0030.00620.57
8.1.100.0000.00820.55
8.1.90.0040.00420.65
8.1.80.0040.00420.55
8.1.70.0040.00420.49
8.1.60.0050.00320.71
8.1.50.0040.00420.64
8.1.40.0050.00520.57
8.1.30.0040.00420.81
8.1.20.0000.00820.82
8.1.10.0030.00520.87
8.1.00.0040.00420.55
8.0.300.0030.00620.04
8.0.290.0080.00420.00
8.0.280.0030.00620.78
8.0.270.0040.00420.45
8.0.260.0000.00720.32
8.0.250.0050.00320.21
8.0.240.0060.00320.35
8.0.230.0030.00620.21
8.0.220.0080.00020.39
8.0.210.0060.00320.25
8.0.200.0070.00320.41
8.0.190.0000.00820.45
8.0.180.0090.00020.16
8.0.170.0000.00920.26
8.0.160.0040.00420.09
8.0.150.0030.00620.06
8.0.140.0040.00420.24
8.0.130.0000.00513.45
8.0.120.0000.00819.96
8.0.110.0000.01020.19
8.0.100.0040.00420.06
8.0.90.0050.00320.17
8.0.80.0000.01920.00
8.0.70.0000.00820.20
8.0.60.0040.00419.81
8.0.50.0040.00420.00
8.0.30.0060.01420.00
8.0.20.0120.00920.30
8.0.10.0040.00420.31
8.0.00.0120.01120.32
7.4.330.0000.00515.15
7.4.320.0000.00719.73
7.4.300.0030.00319.88
7.4.290.0000.00719.98
7.4.280.0000.00819.60
7.4.270.0040.00420.02
7.4.260.0090.00019.82
7.4.250.0000.00820.04
7.4.240.0040.00419.72
7.4.230.0040.00419.64
7.4.220.0040.02119.77
7.4.210.0090.00919.75
7.4.200.0040.00420.17
7.4.160.0120.00619.72
7.4.150.0090.00919.64
7.4.140.0130.01019.80
7.4.130.0090.01319.91
7.4.120.0060.01219.90
7.4.110.0100.01019.82
7.4.100.0070.01119.79
7.4.90.0130.00719.73
7.4.80.0070.01119.91
7.4.70.0110.00519.89
7.4.60.0070.01219.77
7.4.50.0070.01019.81
7.4.40.0110.00819.75
7.4.30.0080.01119.98
7.4.10.0060.01318.01
7.4.00.0070.01118.04
7.3.330.0000.00513.18
7.3.320.0030.00313.22
7.3.310.0040.00419.41
7.3.300.0000.00719.23
7.3.290.0030.01419.41
7.3.280.0060.01119.25
7.3.270.0180.00919.32
7.3.260.0060.01219.59
7.3.250.0090.01019.66
7.3.240.0090.00919.70
7.3.230.0130.00719.48
7.3.210.0090.00919.29
7.3.200.0090.00919.78
7.3.190.0130.00419.45
7.3.180.0140.01019.57
7.3.170.0140.00619.79
7.3.160.0130.01319.45
7.3.130.0100.01018.07
7.3.120.0070.01317.81
7.3.110.0080.01017.78
7.3.100.0100.00817.80
7.3.90.0070.01017.98
7.3.80.0050.00917.85
7.3.70.0020.01017.81
7.3.60.0030.01217.84
7.3.50.0030.01017.71
7.3.40.0040.00717.53
7.3.30.0080.00517.87
7.3.20.0070.00719.71
7.3.10.0120.00619.52
7.3.00.0100.00919.70
7.2.330.0080.01119.30
7.2.320.0120.00619.84
7.2.310.0120.00619.75
7.2.300.0170.00719.64
7.2.290.0120.00619.67
7.2.260.0000.01918.13
7.2.250.0070.01218.24
7.2.240.0110.00718.28
7.2.230.0050.01418.11
7.2.220.0110.00818.25
7.2.210.0050.01118.57
7.2.200.0020.01518.36
7.2.190.0050.01318.36
7.2.180.0030.01118.23
7.2.170.0110.00518.07
7.2.160.0040.01118.46
7.2.150.0040.01420.22
7.2.140.0040.01220.32
7.2.130.0110.00820.18
7.2.120.0090.00920.00
7.2.110.0100.01120.00
7.2.100.0070.01120.00
7.2.90.0080.01020.14
7.2.80.0160.00620.02
7.2.70.0120.00919.97
7.2.60.0110.00820.07
7.2.50.0110.00719.95
7.2.40.0100.00920.06
7.2.30.0120.00320.09
7.2.20.0120.01019.80
7.2.10.0110.00820.11
7.2.00.0070.00721.09
7.1.330.0080.00919.04
7.1.320.0070.01119.27
7.1.310.0050.01219.11
7.1.300.0110.00419.03
7.1.290.0050.01019.03
7.1.280.0070.00918.99
7.1.270.0040.00719.08
7.1.260.0040.01019.01
7.1.250.0080.01318.94
7.1.240.0100.00319.13
7.1.230.0090.00618.70
7.1.220.0080.00318.96
7.1.210.0140.00718.97
7.1.200.0120.00819.04
7.1.190.0030.00619.16
7.1.180.0030.01019.17
7.1.170.0080.00419.04
7.1.160.0000.01119.00
7.1.150.0130.00319.18
7.1.140.0000.01018.98
7.1.130.0000.01619.11
7.1.120.0130.00619.28
7.1.110.0140.00019.16
7.1.100.0030.00619.21
7.1.90.0030.00818.87
7.1.80.0000.01519.32
7.1.70.0070.00419.92
7.1.60.0050.01020.05
7.1.50.0030.00919.26
7.1.40.0090.00419.19
7.1.30.0100.00619.37
7.1.20.0060.01018.94
7.1.10.0070.01019.23
7.1.00.0070.04222.13
7.0.330.0030.01418.88
7.0.320.0080.00819.01
7.0.310.0070.00718.93
7.0.300.0120.00018.76
7.0.290.0100.00618.88
7.0.280.0090.00318.74
7.0.270.0000.01418.88
7.0.260.0060.00318.56
7.0.250.0070.00718.93
7.0.240.0050.00518.98
7.0.230.0030.01219.10
7.0.220.0090.00418.86
7.0.210.0060.00918.95
7.0.200.0120.00818.12
7.0.190.0070.00318.68
7.0.180.0000.01418.89
7.0.170.0040.01118.56
7.0.160.0000.00919.04
7.0.150.0030.00918.73
7.0.140.0030.00918.97
7.0.130.0060.00618.84
7.0.120.0060.01218.92
7.0.110.0030.01018.89
7.0.100.0130.04020.98
7.0.90.0090.04421.00
7.0.80.0100.04521.04
7.0.70.0100.02521.05
7.0.60.0080.02121.10
7.0.50.0030.02821.19
7.0.40.0040.02619.87
7.0.30.0050.03619.95
7.0.20.0050.04219.81
7.0.10.0070.02319.97
7.0.00.0060.04319.86
5.6.400.0100.00717.82
5.6.390.0060.00617.54
5.6.380.0000.01417.43
5.6.370.0030.01317.67
5.6.360.0030.01318.00
5.6.350.0100.00617.63
5.6.340.0150.00017.35
5.6.330.0040.01117.36
5.6.320.0040.01117.96
5.6.310.0110.00317.52
5.6.300.0040.00717.99
5.6.290.0090.00917.32
5.6.280.0060.04020.91
5.6.270.0100.00717.55
5.6.260.0070.01017.47
5.6.250.0030.04620.71
5.6.240.0110.03320.95
5.6.230.0060.04220.53
5.6.220.0030.04320.69
5.6.210.0060.02420.76
5.6.200.0030.02520.83
5.6.190.0070.02420.73
5.6.180.0070.02520.87
5.6.170.0080.02520.60
5.6.160.0070.04420.91
5.6.150.0090.03920.83
5.6.140.0050.03320.92
5.6.130.0070.02320.97
5.6.120.0050.02620.85
5.6.110.0020.03020.65
5.6.100.0030.02920.92
5.6.90.0070.02420.92
5.6.80.0080.02320.49
5.6.70.0030.02920.49
5.6.60.0030.02820.68
5.6.50.0040.02620.53
5.6.40.0090.02120.61
5.6.30.0050.02620.53
5.6.20.0050.02620.49
5.6.10.0030.02720.29
5.6.00.0090.02120.39
5.5.380.0100.03720.37
5.5.370.0090.04720.51
5.5.360.0080.03020.78
5.5.350.0070.03220.57
5.5.340.0060.02420.74
5.5.330.0070.02320.92
5.5.320.0130.02020.62
5.5.310.0080.03720.51
5.5.300.0070.03720.61
5.5.290.0030.04820.42
5.5.280.0050.03120.44
5.5.270.0030.03020.57
5.5.260.0050.02720.46
5.5.250.0060.03620.78
5.5.240.0080.02320.46
5.5.230.0070.02620.51
5.5.220.0060.02320.60
5.5.210.0050.02520.10
5.5.200.0070.02420.14
5.5.190.0020.02720.42
5.5.180.0020.02620.32
5.5.170.0110.00717.66
5.5.160.0020.03220.02
5.5.150.0070.02220.55
5.5.140.0030.02820.43
5.5.130.0090.02020.10
5.5.120.0100.01820.52
5.5.110.0020.02920.43
5.5.100.0030.03020.50
5.5.90.0050.02520.59
5.5.80.0050.02620.26
5.5.70.0070.02320.36
5.5.60.0070.02320.39
5.5.50.0000.02720.11
5.5.40.0060.02320.21
5.5.30.0050.02420.04
5.5.20.0040.02520.46
5.5.10.0050.02420.40
5.5.00.0020.03020.21

preferences:
61.55 ms | 401 KiB | 5 Q