3v4l.org

run code in 500+ PHP versions simultaneously
<?php $dt = date_create("2018-2-19"); $icuFormat = "yyyy:MM:dd"; $fmt = datefmt_create( "fa_IR@calendar=persian" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Europe/Berlin',IntlDateFormatter::TRADITIONAL ,"yyyy:MM:dd"); echo datefmt_format( $fmt ,$dt);

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.5.70.0140.00817.25
8.5.60.0120.00617.14
8.5.50.0100.00718.79
8.5.30.0110.00617.46
8.5.20.0120.00619.46
8.5.10.0070.01120.27
8.5.00.0150.01325.23
8.4.210.0120.01224.90
8.4.180.0150.01424.82
8.4.170.0190.01227.14
8.4.160.0190.01228.29
8.4.150.0100.00719.55
8.4.140.0180.00721.23
8.4.130.0140.00923.07
8.4.120.0060.00425.70
8.4.110.0200.00825.36
8.4.100.0120.01020.93
8.4.90.0190.00723.40
8.4.80.0060.00322.36
8.4.70.0080.01222.14
8.4.60.0130.00921.32
8.4.50.0060.00422.99
8.4.40.0270.00023.38
8.4.30.0120.00321.78
8.4.20.0230.00821.22
8.4.10.0000.01027.26
8.3.300.0150.01423.57
8.3.290.0150.01627.78
8.3.280.0140.01423.63
8.3.270.0170.00520.21
8.3.260.0140.00719.92
8.3.250.0100.01121.95
8.3.240.0140.00722.11
8.3.230.0100.01119.90
8.3.220.0140.00522.34
8.3.210.0040.00420.08
8.3.200.0050.00519.70
8.3.190.0100.01020.36
8.3.180.0050.00520.05
8.3.170.0080.00020.71
8.3.160.0110.01020.21
8.3.150.0100.01020.27
8.3.140.0100.00620.25
8.3.130.0280.00319.47
8.3.120.0100.01023.78
8.3.110.0060.01521.63
8.3.100.0060.01524.06
8.3.90.0130.00726.77
8.3.80.0050.00520.00
8.3.70.0140.01019.75
8.3.60.0170.00319.88
8.3.50.0180.00321.38
8.3.40.0140.00722.46
8.3.30.0100.00620.97
8.3.20.0080.00024.18
8.3.10.0030.00524.66
8.3.00.0060.00326.16
8.2.300.0150.01223.33
8.2.290.0140.00620.02
8.2.280.0070.01320.19
8.2.270.0030.01320.13
8.2.260.0100.01022.30
8.2.250.0030.00621.63
8.2.240.0100.00322.35
8.2.230.0130.00722.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0000.01021.66
8.2.190.0130.01020.00
8.2.180.0270.00825.92
8.2.170.0100.00721.29
8.2.160.0080.00822.96
8.2.150.0050.00325.66
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0050.00326.16
8.2.110.0060.00322.64
8.2.100.0230.00120.53
8.2.90.0100.00320.75
8.2.80.0030.00620.80
8.2.70.0140.00020.38
8.2.60.0040.00420.65
8.2.50.0030.00720.63
8.2.40.0090.00922.57
8.2.30.0030.00620.92
8.2.20.0100.01021.33
8.2.10.0040.01220.96
8.2.00.0040.00721.53
8.1.340.0110.01426.76
8.1.330.0110.01124.98
8.1.320.0110.00921.19
8.1.310.0090.00920.09
8.1.300.0100.00621.49
8.1.290.0030.00719.38
8.1.280.0100.00725.92
8.1.270.0060.00324.66
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0030.00924.38
8.1.230.0030.01026.09
8.1.220.0060.00320.79
8.1.210.0060.01120.23
8.1.200.0030.01020.23
8.1.190.0040.00420.35
8.1.180.0000.00920.00
8.1.170.0130.00621.24
8.1.160.0030.00721.09
8.1.150.0030.00720.88
8.1.140.0130.00420.43
8.1.130.0040.00420.99
8.1.120.0040.00420.48
8.1.110.0040.00820.37
8.1.100.0040.00420.53
8.1.90.0260.00020.46
8.1.80.0120.00420.36
8.1.70.0050.00520.58
8.1.60.0080.00320.53
8.1.50.0120.00020.41
8.1.40.0050.00520.55
8.1.30.0070.00320.82
8.1.20.0000.01120.48
8.1.10.0060.00620.61
8.1.00.0070.01020.46
8.0.300.0070.01021.63
8.0.290.0040.00419.88
8.0.280.0080.00520.67
8.0.270.0120.00619.89
8.0.260.0040.00420.70
8.0.250.0000.00820.10
8.0.240.0040.00720.14
8.0.230.0120.00320.29
8.0.220.0110.00620.13
8.0.210.0090.00820.14
8.0.200.0100.00720.14
8.0.190.0110.00520.12
8.0.180.0170.00020.05
8.0.170.0130.00320.05
8.0.160.0120.00319.98
8.0.150.0060.00919.87
8.0.140.0140.00019.78
8.0.130.0030.01219.77
8.0.120.0080.00819.88
8.0.110.0100.00520.10
8.0.100.0120.00220.12
8.0.90.0090.00620.05
8.0.80.0080.00819.99
8.0.70.0120.00420.05
8.0.60.0080.00819.81
8.0.50.0120.00519.71
8.0.30.0120.00420.15
8.0.20.0110.00520.18
8.0.10.0090.00819.95
7.4.330.0050.00015.55
7.4.320.0050.00519.96
7.4.300.0190.00019.78
7.4.290.0110.00719.89
7.4.280.0150.00319.87
7.4.270.0150.00419.69
7.4.260.0050.01019.69
7.4.250.0140.00419.90
7.4.240.0110.00719.69
7.4.230.0160.00019.61
7.4.220.0070.00719.58
7.4.210.0130.00319.75
7.4.200.0090.00519.67
7.4.190.0090.00519.60
7.4.180.0080.00519.77
7.4.160.0090.00419.72
7.4.150.0120.00319.77
7.4.140.0120.00419.69
7.4.130.0130.00219.70
7.4.120.0000.01119.71
7.4.110.0120.00019.64
7.4.100.0120.00019.81
7.4.90.0040.00719.79
7.4.80.0060.00619.60
7.4.70.0120.00019.64
7.4.60.0050.01019.74
7.4.50.0090.00619.59
7.4.40.0050.00519.66
7.4.30.0080.00019.71
7.4.20.0040.00419.65
7.4.10.0060.00619.57
7.4.00.0040.00719.55

preferences:
57.71 ms | 1252 KiB | 5 Q