3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'en-US', NumberFormatter::CURRENCY ); $num = "1.234.567,89 $"; echo "We have ".$fmt->parseCurrency($num, $curr)." in $curr\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.0040.02921.21
8.3.50.0130.03123.45
8.3.40.0030.01720.22
8.3.30.0130.00320.42
8.3.20.0030.00622.18
8.3.10.0050.00525.31
8.3.00.0070.00421.62
8.2.180.0110.02819.59
8.2.170.0070.01422.96
8.2.160.0130.01022.10
8.2.150.0030.00724.18
8.2.140.0090.00024.66
8.2.130.0030.00622.39
8.2.120.0060.00326.35
8.2.110.0000.01022.10
8.2.100.0100.00319.91
8.2.90.0030.00620.99
8.2.80.0000.01019.50
8.2.70.0110.00019.75
8.2.60.0030.00620.05
8.2.50.0080.00819.75
8.2.40.0000.01421.50
8.2.30.0050.00522.29
8.2.20.0110.00419.79
8.2.10.0030.00620.26
8.2.00.0060.00620.24
8.1.280.0160.02625.92
8.1.270.0060.00325.64
8.1.260.0070.00328.09
8.1.250.0090.00028.09
8.1.240.0070.00725.41
8.1.230.0100.00323.16
8.1.220.0090.00020.02
8.1.210.0070.00419.61
8.1.200.0110.00019.48
8.1.190.0060.00319.82
8.1.180.0050.00519.55
8.1.170.0070.00720.59
8.1.160.0090.00023.78
8.1.150.0090.00020.54
8.1.140.0000.01321.76
8.1.130.0040.00419.93
8.1.120.0050.00519.78
8.1.110.0000.01019.90
8.1.100.0140.00319.60
8.1.90.0090.00619.50
8.1.80.0000.00919.62
8.1.70.0000.01019.91
8.1.60.0100.00920.06
8.1.50.0000.01020.04
8.1.40.0080.01219.90
8.1.30.0000.01120.11
8.1.20.0030.00619.86
8.1.10.0030.00620.02
8.1.00.0100.00319.81
8.0.300.0000.00919.29
8.0.290.0000.01018.88
8.0.280.0040.00420.16
8.0.270.0080.00019.50
8.0.260.0000.00819.37
8.0.250.0000.01119.20
8.0.240.0060.00319.20
8.0.230.0030.00619.10
8.0.220.0000.01019.12
8.0.210.0000.00919.11
8.0.200.0000.01119.14
8.0.190.0060.00619.35
8.0.180.0120.00019.02
8.0.170.0030.00719.16
8.0.160.0060.00319.05
8.0.150.0060.00319.07
8.0.140.0030.00619.21
8.0.130.0050.00013.27
8.0.120.0070.00319.26
8.0.110.0100.00019.32
8.0.100.0000.00919.41
8.0.90.0000.00919.02
8.0.80.0070.01719.31
8.0.70.0040.00419.04
8.0.60.0030.00619.06
8.0.50.0000.01019.29
8.0.30.0140.01519.64
8.0.20.0150.00719.42
8.0.10.0060.00319.38
8.0.00.0090.01219.15
7.4.330.0000.00616.84
7.4.320.0000.00819.01
7.4.300.0040.00418.93
7.4.290.0030.00518.87
7.4.280.0120.00618.95
7.4.270.0050.00519.04
7.4.260.0060.00618.89
7.4.250.0100.00018.77
7.4.240.0010.00818.91
7.4.230.0000.00919.05
7.4.220.0130.01018.90
7.4.210.0080.01518.93
7.4.200.0060.00318.86
7.4.160.0070.01518.76
7.4.150.0100.01018.95
7.4.140.0110.00918.79
7.4.130.0110.01618.81
7.4.120.0080.01418.97
7.4.110.0070.01418.95
7.4.100.0150.01518.75
7.4.90.0090.01118.88
7.4.80.0150.00919.39
7.4.70.0130.00618.83
7.4.60.0120.01218.66
7.4.50.0050.00818.96
7.4.40.0110.00819.00
7.4.30.0100.01018.67
7.4.00.0060.01117.40
7.3.330.0030.00313.04
7.3.320.0000.00513.19
7.3.310.0000.00818.73
7.3.300.0060.00318.48
7.3.290.0090.00018.58
7.3.280.0130.01618.61
7.3.270.0120.00918.86
7.3.260.0210.00018.60
7.3.250.0130.00918.73
7.3.240.0060.01418.78
7.3.230.0100.01318.77
7.3.210.0160.00818.97
7.3.200.0070.02018.91
7.3.190.0090.01218.80
7.3.180.0110.01418.59
7.3.170.0130.01318.73
7.3.160.0120.00618.61
7.3.120.0090.00917.11
7.3.110.0030.02017.24
7.3.100.0100.00617.02
7.3.90.0130.00617.36
7.3.80.0040.01217.11
7.3.70.0060.00717.42
7.3.60.0070.00717.36
7.3.50.0090.00617.26
7.3.40.0090.00317.41
7.3.30.0030.01017.30
7.3.20.0100.01018.88
7.3.10.0060.00918.94
7.3.00.0070.00718.74
7.2.330.0030.01719.09
7.2.320.0090.01218.84
7.2.310.0150.00719.11
7.2.300.0030.01718.91
7.2.290.0050.02018.64
7.2.250.0030.01917.56
7.2.240.0040.01817.25
7.2.230.0000.01817.55
7.2.220.0000.01317.57
7.2.210.0030.01017.64
7.2.200.0130.00617.25
7.2.190.0040.01117.32
7.2.180.0070.00417.46
7.2.170.0040.01217.27
7.2.60.0140.00519.13
7.2.00.0070.01121.94
7.1.330.0000.01518.11
7.1.320.0040.01118.09
7.1.310.0040.01118.14
7.1.300.0060.00918.13
7.1.290.0090.00317.82
7.1.280.0000.01518.18
7.1.270.0030.01017.89
7.1.260.0070.00718.16
7.1.200.0140.00318.18
7.1.100.0030.01320.75
7.1.70.0110.00719.75
7.1.60.0090.00919.84
7.1.50.0150.00919.41
7.1.00.0100.07325.08
7.0.200.0110.00019.49
7.0.60.0170.07722.31
7.0.50.0130.04317.80
7.0.40.0000.05022.37
7.0.30.0370.06722.33
7.0.20.0300.06722.57
7.0.10.0030.07022.32
7.0.00.0130.08022.10
5.6.210.0000.04322.95
5.6.200.0070.06318.22
5.6.190.0030.05022.57
5.6.180.0530.07322.74
5.6.170.0200.08722.54
5.6.160.0070.04022.73
5.6.150.0000.04318.22
5.6.140.0030.08718.08
5.6.130.0030.05718.18
5.6.120.0070.05323.12
5.6.110.0070.08723.46
5.6.100.0070.06023.19
5.6.90.0030.08323.29
5.6.80.0030.04322.57
5.5.350.0100.03722.88
5.5.340.0070.07718.04
5.5.330.0130.08322.61
5.5.320.0070.05022.50
5.5.310.0170.06022.50
5.5.300.0030.06717.95
5.5.290.0100.03317.98
5.5.280.0170.05723.23
5.5.270.0170.08023.33
5.5.260.0070.04023.22
5.5.250.0170.08023.04
5.5.240.0170.08022.28

preferences:
48.12 ms | 401 KiB | 5 Q