3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_MONETARY, 'tr_TR.UTF-8'); $formatter = new \NumberFormatter('tr_TR.UTF-8', \NumberFormatter::CURRENCY); var_dump($formatter->format(1200)); var_dump(money_format('%n', 1200));

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.0060.02621.43
8.3.50.0100.01721.29
8.3.40.0100.01021.10
8.3.30.0120.00320.45
8.3.20.0040.00423.60
8.3.10.0000.00822.22
8.3.00.0080.00024.75
8.2.180.0070.02919.88
8.2.170.0070.01122.96
8.2.160.0000.01421.33
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0140.00726.16
8.2.120.0040.00426.16
8.2.110.0050.00522.34
8.2.100.0170.00022.01
8.2.90.0060.00620.92
8.2.80.0080.00419.88
8.2.70.0150.00019.63
8.2.60.0080.00020.29
8.2.50.0030.00619.88
8.2.40.0090.00620.43
8.2.30.0040.00420.29
8.2.20.0050.00320.36
8.2.10.0040.00421.08
8.2.00.0040.00421.23
8.1.280.0070.02125.92
8.1.270.0040.00423.95
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0120.00022.45
8.1.230.0140.00020.08
8.1.220.0000.00919.91
8.1.210.0170.00419.60
8.1.200.0060.01719.48
8.1.190.0000.00819.59
8.1.180.0000.00919.59
8.1.170.0050.00520.85
8.1.160.0030.00620.66
8.1.150.0050.00320.75
8.1.140.0050.00320.75
8.1.130.0040.00421.87
8.1.120.0040.00419.89
8.1.110.0030.00619.66
8.1.100.0030.00519.69
8.1.90.0040.00419.65
8.1.80.0050.00319.61
8.1.70.0000.00719.69
8.1.60.0000.00919.70
8.1.50.0000.00819.80
8.1.40.0050.00319.84
8.1.30.0000.00820.00
8.1.20.0040.00420.00
8.1.10.0030.00519.94
8.1.00.0000.00919.93
8.0.300.0170.00319.18
8.0.290.0030.00619.25
8.0.280.0000.00720.36
8.0.270.0040.00420.00
8.0.260.0080.00021.99
8.0.250.0040.00419.45
8.0.240.0050.00219.33
8.0.230.0090.00019.50
8.0.220.0050.00219.38
8.0.210.0040.00419.40
8.0.200.0030.00519.27
8.0.190.0030.00619.20
8.0.180.0040.00419.38
8.0.170.0030.00619.37
8.0.160.0000.00819.25
8.0.150.0040.00419.11
8.0.140.0040.00419.39
8.0.130.0000.00513.71
8.0.120.0050.00319.34
8.0.110.0120.00019.22
8.0.100.0040.00419.21
8.0.90.0060.00319.31
8.0.80.0070.00919.35
8.0.70.0000.00819.32
8.0.60.0030.00519.23
8.0.50.0030.00519.29
8.0.30.0130.00919.63
8.0.20.0090.01119.50
8.0.10.0000.00919.45
8.0.00.0090.00919.50
7.4.330.0000.00515.55
7.4.320.0070.00019.03
7.4.300.0040.00418.95
7.4.290.0080.00019.03
7.4.280.0000.00818.92
7.4.270.0040.00418.88
7.4.260.0000.00613.58
7.4.250.0080.00018.91
7.4.240.0020.00518.91
7.4.230.0000.00818.99
7.4.220.0000.00719.02
7.4.210.0070.01019.06
7.4.200.0040.00418.70
7.4.130.0080.01118.83
7.4.120.0050.01418.76
7.4.110.0060.01218.94
7.4.100.0070.01418.93
7.4.90.0120.00818.69
7.4.80.0180.00019.39
7.4.70.0130.00619.02
7.4.60.0030.01318.63
7.4.50.0040.01118.74
7.4.40.0000.01918.86
7.4.30.0190.00418.91
7.4.20.0110.00718.63
7.4.10.0190.00018.90
7.4.00.0070.01518.75
7.3.330.0040.00418.73
7.3.320.0030.00313.54
7.3.310.0100.00318.67
7.3.300.0000.00818.54
7.3.290.0070.00818.64
7.3.280.0090.01218.69
7.3.260.0070.01618.77
7.3.240.0120.00818.74
7.3.230.0190.00618.83
7.3.210.0120.00918.82
7.3.200.0170.00018.74
7.3.190.0070.01118.70
7.3.180.0090.01218.57
7.3.170.0110.00519.07
7.3.160.0110.00718.75
7.3.150.0090.01318.95
7.3.140.0130.00618.74
7.3.130.0100.01318.58
7.3.120.0150.00918.51
7.3.110.0120.01218.61
7.3.100.0090.00918.40
7.3.90.0090.00918.75
7.3.80.0090.00918.79
7.3.70.0150.00918.75
7.3.60.0030.02018.75
7.3.50.0090.00918.60
7.3.40.0070.01518.68
7.3.30.0070.01618.55
7.3.20.1140.01318.57
7.3.10.0100.01018.53
7.3.00.0120.00918.69
7.2.330.0110.01918.96
7.2.320.0250.00418.82
7.2.310.0030.01519.03
7.2.300.0090.00918.84
7.2.290.0040.01418.61
7.2.280.0180.00618.74
7.2.270.0130.00618.84
7.2.260.0070.01118.82
7.2.250.0090.01018.95
7.2.240.0100.01019.05
7.2.230.0030.01518.95
7.2.220.0170.00718.62
7.2.210.0130.00618.77
7.2.200.0150.00318.81
7.2.190.0120.00618.59
7.2.180.0090.00918.94
7.2.170.0130.00918.81
7.2.160.0120.01218.80
7.2.150.0100.01018.75
7.2.140.0150.00818.79
7.2.130.0150.00718.75
7.2.120.0100.01318.96
7.2.110.0070.01118.79
7.2.100.0110.01118.99
7.2.90.0090.01518.80
7.2.80.0110.00918.79
7.2.70.0170.00318.81
7.2.60.0160.00718.99
7.2.50.0070.01718.72
7.2.40.0050.01518.82
7.2.30.0120.01118.86
7.2.20.0140.00518.75
7.2.10.0090.01519.00
7.2.00.0120.01219.11

preferences:
66.09 ms | 400 KiB | 5 Q