3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('date.timezone', 'Asia/Tehran'); //same as IntlCalendar::fromDateTime(new DateTime(...)) $cal1 = IntlCalendar::fromDateTime('2016-10-28 17:43:02 Asia/Tehran'); //Note the timezone is Europe/Berlin, not the default Europe/Lisbon echo IntlDateFormatter::formatObject($cal1, 'yyyy MMMM d HH:mm:ss VVVV', 'fa_IR'), "\n";

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.0200.00721.00
8.3.50.0130.01320.77
8.3.40.0160.00322.04
8.3.30.0070.01821.75
8.3.20.0130.01321.60
8.3.10.0070.01724.71
8.3.00.0140.01024.86
8.2.180.0070.01722.91
8.2.170.0100.01022.96
8.2.160.0090.00924.99
8.2.150.0100.01024.18
8.2.140.0060.01024.66
8.2.130.0130.01023.70
8.2.120.0030.00726.35
8.2.110.0030.00924.91
8.2.100.0130.00321.91
8.2.90.0060.00621.97
8.2.80.0040.00722.09
8.2.70.0080.00321.80
8.2.60.0080.00321.63
8.2.50.0030.00921.38
8.2.40.0060.00623.69
8.2.30.0030.00722.36
8.2.20.0040.00822.00
8.2.10.0050.00921.82
8.2.00.0050.00521.65
8.1.280.0040.01525.92
8.1.270.0070.00326.84
8.1.260.0070.00328.09
8.1.250.0040.00728.09
8.1.240.0040.00825.30
8.1.230.0090.00624.71
8.1.220.0070.00721.75
8.1.210.0120.00722.64
8.1.200.0060.00621.35
8.1.190.0130.01021.13
8.1.180.0000.01121.41
8.1.170.0070.00424.26
8.1.160.0030.00721.86
8.1.150.0080.00423.52
8.1.140.0070.00523.54
8.1.130.0040.00821.66
8.1.120.0050.00821.65
8.1.110.0040.01121.55
8.1.100.0030.00921.54
8.1.90.0000.01121.69
8.1.80.0050.00921.66
8.1.70.0000.01121.77
8.1.60.0070.00721.57
8.1.50.0000.01321.69
8.1.40.0100.01321.57
8.1.30.0070.00721.49
8.1.20.0080.00521.74
8.1.10.0070.00721.76
8.1.00.0000.01121.79
8.0.300.0000.01023.04
8.0.290.0000.01220.63
8.0.280.0000.01021.57
8.0.270.0000.01421.25
8.0.260.0070.00521.17
8.0.250.0040.00821.18
8.0.240.0000.01221.30
8.0.230.0070.00721.26
8.0.220.0000.01121.05
8.0.210.0050.00521.18
8.0.200.0040.00821.15
8.0.190.0000.01121.19
8.0.180.0140.00321.11
8.0.170.0060.00621.25
8.0.160.0110.00020.98
8.0.150.0000.01320.77
8.0.140.0040.00721.26
8.0.130.0000.00613.31
8.0.120.0000.01221.15
8.0.110.0000.01220.89
8.0.100.0080.00620.99
8.0.90.0080.00421.27
8.0.80.0100.01321.28
8.0.70.0110.00321.32
8.0.60.0000.01121.19
8.0.50.0030.01021.25
8.0.30.0090.01521.42
8.0.20.0120.01721.32
8.0.10.0030.00821.42
8.0.00.0230.01721.18
7.4.330.0020.00215.55
7.4.320.0030.00620.89
7.4.300.0030.01020.64
7.4.290.0000.01020.82
7.4.280.0040.00820.90
7.4.270.0030.00920.80
7.4.260.0110.00020.83
7.4.250.0000.01120.83
7.4.240.0070.00720.76
7.4.230.0000.01121.15
7.4.220.0120.02720.82
7.4.210.0090.01621.11
7.4.200.0060.00621.11
7.4.160.0130.01220.93
7.4.150.0100.02420.96
7.4.140.0080.01620.91
7.4.130.0110.01521.05
7.4.120.0110.01520.93
7.4.110.0060.02020.92
7.4.100.0060.02621.04
7.4.90.0100.02320.80
7.4.80.0040.02120.97
7.4.70.0170.01120.89
7.4.60.0120.01521.14
7.4.50.0060.01320.89
7.4.40.0160.00621.02
7.4.30.0130.01420.96
7.4.00.0080.01419.29
7.3.330.0050.00013.06
7.3.320.0000.00512.96
7.3.310.0050.00920.32
7.3.300.0050.00520.05
7.3.290.0090.01420.23
7.3.280.0100.01720.27
7.3.270.0130.01820.72
7.3.260.0160.01320.72
7.3.250.0110.01320.67
7.3.240.0090.01420.69
7.3.230.0110.01220.26
7.3.210.0090.02220.66
7.3.200.0170.01020.80
7.3.190.0060.02220.63
7.3.180.0100.02020.68
7.3.170.0150.01820.47
7.3.160.0130.01020.69
7.3.120.0000.02318.40
7.3.110.0100.01418.35
7.3.100.0070.01318.50
7.3.90.0030.01018.77
7.3.80.0070.01118.71
7.3.70.0030.01318.48
7.3.60.0100.01318.88
7.3.50.0030.01218.72
7.3.40.0030.01218.65
7.3.30.0000.01818.77
7.3.20.0040.00820.57
7.3.10.0050.01420.54
7.3.00.0070.01120.41
7.2.330.0120.01220.89
7.2.320.0090.01420.71
7.2.310.0090.01620.86
7.2.300.0180.01720.75
7.2.290.0080.01720.71
7.2.250.0070.01719.16
7.2.240.0070.01319.19
7.2.230.0000.02018.93
7.2.220.0000.01419.29
7.2.210.0030.01319.28
7.2.200.0000.01919.13
7.2.190.0070.01419.12
7.2.180.0030.01219.22
7.2.170.0090.00919.19
7.2.130.0070.01320.81
7.2.120.0070.01420.86
7.2.110.0100.00720.81
7.2.100.0070.01021.18
7.2.90.0110.00821.23
7.2.80.0060.01221.10
7.2.70.0100.01021.35
7.2.60.0050.01521.18
7.2.50.0080.01221.26
7.2.40.0060.01021.14
7.2.30.0090.00920.91
7.2.20.0040.01521.23
7.2.10.0100.01021.18
7.2.00.0110.01122.61
7.1.330.0040.01520.06
7.1.320.0040.01120.11
7.1.310.0030.01319.94
7.1.300.0060.00919.80
7.1.290.0040.00820.13
7.1.280.0000.01719.73
7.1.270.0030.01720.24
7.1.260.0100.00719.85
7.1.250.0100.01020.07
7.1.200.0000.01019.79
7.1.70.0090.00621.61
7.1.60.0050.01021.81
7.1.00.0030.08326.87
7.0.200.0270.00719.17
7.0.120.0000.06726.24
7.0.110.0200.06026.19
7.0.100.0070.07026.43
7.0.90.0100.07725.91
7.0.80.0000.07026.05
7.0.70.0130.05726.01
7.0.60.0170.05326.19
7.0.50.0030.07026.16
7.0.40.0170.05326.12
7.0.30.0130.08326.01
7.0.20.0030.07726.04
7.0.10.0100.06026.14
7.0.00.0130.05726.11
5.6.270.0070.06025.10
5.6.260.0130.06025.16
5.6.250.0070.06325.20
5.6.240.0130.06324.93
5.6.230.0170.05725.14
5.6.220.0070.06025.18
5.6.210.0130.06025.02
5.6.200.0070.08325.26
5.6.190.0170.06325.18
5.6.180.0170.06725.20
5.6.170.0100.06725.12
5.6.160.0100.06025.14
5.6.150.0070.08724.73
5.6.140.0170.07724.77
5.6.130.0030.08025.12
5.6.120.0230.08324.99
5.6.110.0100.07724.98
5.6.100.0070.07024.57
5.6.90.0100.05725.07
5.6.80.0200.07323.97
5.6.70.0130.08324.60
5.6.60.0070.06724.10
5.6.50.0170.07024.15
5.6.40.0030.08324.13
5.6.30.0130.07724.21
5.6.20.0070.06324.53
5.6.10.0070.09024.13
5.6.00.0070.07024.24

preferences:
62.84 ms | 401 KiB | 5 Q