3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time1 = strtotime('2017-3-18'); $time2 = strtotime('2017-3-19'); $formater = new \IntlDateFormatter('en_US' . '@calendar=persian' , \IntlDateFormatter::FULL, \IntlDateFormatter::FULL, 'Asia/Tehran', \IntlDateFormatter::TRADITIONAL, 'y-M-d'); echo $formater->format($time1), PHP_EOL; echo $formater->format($time2), PHP_EOL;

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.0120.00619.50
8.3.50.0100.00719.66
8.3.40.0160.00020.96
8.3.30.0000.01621.05
8.3.20.0130.00724.19
8.3.10.0030.00523.98
8.3.00.0100.00022.44
8.2.180.0070.01421.54
8.2.170.0120.00322.96
8.2.160.0100.00622.60
8.2.150.0130.00625.66
8.2.140.0060.00324.66
8.2.130.0040.00422.82
8.2.120.0060.00326.35
8.2.110.0080.00324.50
8.2.100.0100.00320.84
8.2.90.0090.00020.88
8.2.80.0060.00321.03
8.2.70.0040.00420.93
8.2.60.0030.00620.63
8.2.50.0090.00021.09
8.2.40.0040.00422.89
8.2.30.0000.00921.44
8.2.20.0050.00321.08
8.2.10.0040.00420.93
8.2.00.0000.00821.01
8.1.280.0100.00725.92
8.1.270.0030.00624.32
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0060.00324.39
8.1.230.0090.00320.82
8.1.220.0080.00020.79
8.1.210.0060.00420.36
8.1.200.0030.00620.35
8.1.190.0100.00020.35
8.1.180.0100.00020.41
8.1.170.0030.00821.59
8.1.160.0030.00621.07
8.1.150.0000.00922.46
8.1.140.0040.00420.68
8.1.130.0050.00320.41
8.1.120.0040.00420.63
8.1.110.0030.00620.68
8.1.100.0040.00420.54
8.1.90.0040.00420.50
8.1.80.0030.00720.55
8.1.70.0040.00420.65
8.1.60.0000.00920.55
8.1.50.0040.00720.50
8.1.40.0050.00320.66
8.1.30.0030.00620.74
8.1.20.0000.00920.77
8.1.10.0040.00420.62
8.1.00.0070.00320.70
8.0.300.0070.00319.88
8.0.290.0000.00819.88
8.0.280.0040.00420.65
8.0.270.0030.00520.33
8.0.260.0040.00419.96
8.0.250.0080.00020.09
8.0.240.0000.00720.19
8.0.230.0090.00020.10
8.0.220.0000.00720.05
8.0.210.0040.00420.16
8.0.200.0060.00320.13
8.0.190.0080.00020.15
8.0.180.0040.00419.99
8.0.170.0000.00920.00
8.0.160.0060.00319.91
8.0.150.0040.00419.85
8.0.140.0030.00619.88
8.0.130.0030.00313.54
8.0.120.0060.00320.07
8.0.110.0000.00820.10
8.0.100.0040.00420.14
8.0.90.0030.00619.97
8.0.80.0100.01020.04
8.0.70.0030.00520.20
8.0.60.0030.00519.91
8.0.50.0000.00819.99
8.0.30.0090.01120.28
8.0.20.0130.00720.10
8.0.10.0030.00620.18
8.0.00.0040.01519.82
7.4.330.0000.00515.55
7.4.320.0030.00519.77
7.4.300.0000.00719.76
7.4.290.0000.00719.70
7.4.280.0000.01019.63
7.4.270.0040.00419.82
7.4.260.0000.00819.55
7.4.250.0090.00019.57
7.4.240.0000.00719.87
7.4.230.0050.00219.65
7.4.220.0080.00019.91
7.4.210.0050.01119.80
7.4.200.0000.00819.61
7.4.160.0090.00919.80
7.4.150.0060.01619.48
7.4.140.0070.01619.69
7.4.130.0120.00919.64
7.4.120.0130.00819.70
7.4.110.0080.01119.72
7.4.100.0080.01419.72
7.4.90.0090.00919.75
7.4.80.0240.00719.71
7.4.70.0110.00919.67
7.4.60.0150.00419.79
7.4.50.0130.00319.43
7.4.40.0100.01019.54
7.4.00.0120.01017.87
7.3.330.0050.00013.31
7.3.320.0030.00313.23
7.3.310.0030.00619.28
7.3.300.0090.00019.39
7.3.290.0000.00719.44
7.3.280.0090.00819.42
7.3.270.0130.01019.45
7.3.260.0120.00919.54
7.3.240.0130.00619.29
7.3.230.0150.00319.41
7.3.210.0090.00919.58
7.3.200.0140.00319.39
7.3.190.0080.00919.79
7.3.180.0090.00919.53
7.3.170.0090.00919.49
7.3.160.0090.00919.54
7.3.120.0190.00617.73
7.3.110.0140.01117.97
7.3.100.0110.01817.76
7.3.90.0000.00917.69
7.3.80.0070.01117.39
7.3.70.0040.00717.72
7.3.60.0040.01217.74
7.3.50.0100.00717.64
7.3.40.0060.00918.03
7.3.30.0000.01417.86
7.3.20.0120.00319.52
7.3.10.0000.02019.59
7.3.00.0030.01319.66
7.2.330.0140.00419.61
7.2.320.0130.00919.73
7.2.310.0110.00819.53
7.2.300.0040.01519.82
7.2.290.0110.00720.02
7.2.250.0070.01717.98
7.2.240.0220.00417.95
7.2.230.0070.00718.10
7.2.220.0030.00918.23
7.2.210.0080.01217.88
7.2.200.0100.00618.25
7.2.190.0060.00918.11
7.2.180.0090.00618.10
7.2.170.0060.00917.90
7.2.160.0080.00617.97
7.2.150.0120.00620.07
7.2.140.0100.00619.97
7.2.130.0040.00819.84
7.2.120.0040.01519.77
7.2.110.0060.00919.91
7.2.100.0080.00619.98
7.2.90.0100.00720.00
7.2.80.0060.01219.94
7.2.70.0000.01520.20
7.2.60.0070.00719.98
7.2.50.0080.01120.07
7.2.40.0000.01519.81
7.2.30.0140.00020.12
7.2.20.0080.01221.76
7.2.10.0100.01021.64
7.2.00.0090.01221.44
7.1.330.0140.01418.61
7.1.320.0060.00919.10
7.1.310.0070.00719.24
7.1.300.0030.01418.99
7.1.290.0000.01218.93
7.1.280.0040.01018.88
7.1.270.0060.00919.05
7.1.260.0070.00718.92
7.1.250.0150.00319.04
7.1.240.0090.00618.62
7.1.230.0030.01218.79
7.1.220.0000.01218.68
7.1.210.0000.01718.98
7.1.200.0090.00518.75
7.1.190.0060.00318.71
7.1.180.0030.01418.93
7.1.170.0030.00618.84
7.1.160.0000.00918.73
7.1.150.0030.01318.97
7.1.140.0090.01020.41
7.1.130.0060.01120.35
7.1.120.0040.01120.39
7.1.110.0060.01420.05
7.1.100.0090.01020.17
7.1.90.0040.01120.03
7.1.80.0070.01220.22
7.1.70.0080.00919.70
7.1.60.0140.01028.48
7.1.50.0120.01428.27
7.1.40.0150.01228.07
7.1.30.0160.01228.20
7.1.20.0180.01328.23
7.1.10.0050.01119.49
7.1.00.0050.01019.42
7.0.330.0000.01518.68
7.0.320.0000.01318.85
7.0.310.0000.01118.50
7.0.300.0030.01018.28
7.0.290.0060.00318.65
7.0.280.0050.00818.48
7.0.270.0070.00318.35
7.0.260.0100.00618.63
7.0.250.0040.00818.61
7.0.240.0030.01018.66
7.0.230.0030.00618.74
7.0.220.0140.00018.70
7.0.210.0030.01418.63
7.0.200.0000.01018.79
7.0.190.0070.00418.65
7.0.180.0060.00318.53
7.0.170.0100.00318.41
7.0.160.0040.00818.50
7.0.150.0100.00018.41
7.0.140.0000.01318.64
7.0.130.0000.01618.60
7.0.120.0000.00918.67
7.0.110.0090.00318.57
7.0.100.0090.00018.57
7.0.90.0000.01418.81
7.0.80.0000.00918.64
7.0.70.0040.00718.73
7.0.60.0090.00618.68
7.0.50.0040.00918.27
7.0.40.0090.00916.61
7.0.30.0050.00516.67
7.0.20.0090.00616.54
7.0.10.0070.00316.53
7.0.00.0040.00416.59
5.6.400.0070.00717.79
5.6.390.0030.01317.41
5.6.380.0060.00617.49
5.6.370.0110.00717.56
5.6.360.0000.01217.46
5.6.350.0090.00617.79
5.6.340.0070.01017.48
5.6.330.0100.00617.29
5.6.320.0030.01417.30
5.6.310.0040.01217.28
5.6.300.0000.01217.53
5.6.290.0060.00617.65
5.6.280.0060.00917.58
5.6.270.0000.01417.70
5.6.260.0040.01117.56
5.6.250.0140.00317.62
5.6.240.0130.00317.39
5.6.230.0070.00717.51
5.6.220.0040.01517.28
5.6.210.0040.01517.59
5.6.200.0090.00617.47
5.6.190.0110.00317.31
5.6.180.0000.01117.14
5.6.170.0060.00317.63
5.6.160.0100.00717.52
5.6.150.0030.01317.72
5.6.140.0120.00617.55
5.6.130.0130.00617.52
5.6.120.0080.00817.29
5.6.110.0000.00917.34
5.6.100.0040.01117.43
5.6.90.0030.01217.43
5.6.80.0110.00617.34
5.6.70.0030.01417.30
5.6.60.0030.01317.41
5.6.50.0030.01417.21
5.6.40.0090.00917.45
5.6.30.0060.01317.28
5.6.20.0120.00417.40
5.6.10.0060.01217.37
5.6.00.0040.01117.45

preferences:
50.46 ms | 400 KiB | 5 Q