3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '123,456'; $float = (new NumberFormatter('en_UK', NumberFormatter::DECIMAL))->parse($string); var_dump( (new NumberFormatter('fa_IR', NumberFormatter::DECIMAL))->format($float) );

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.70.0140.03121.23
8.3.60.0130.02221.18
8.3.50.0150.02319.19
8.3.40.0090.00620.13
8.3.30.0120.00320.23
8.3.20.0050.00322.04
8.3.10.0080.00021.83
8.3.00.0080.00025.17
8.2.190.0140.03119.75
8.2.180.0140.01419.50
8.2.170.0120.00322.96
8.2.160.0110.00322.01
8.2.150.0030.01024.18
8.2.140.0070.00324.66
8.2.130.0050.00326.16
8.2.120.0080.00026.16
8.2.110.0110.00022.99
8.2.100.0040.00919.66
8.2.90.0000.00822.27
8.2.80.0030.00621.80
8.2.70.0000.00819.38
8.2.60.0030.00519.38
8.2.50.0040.00419.38
8.2.40.0040.00420.67
8.2.30.0080.00020.63
8.2.20.0040.00419.92
8.2.10.0040.00420.42
8.2.00.0060.00621.03
8.1.280.0130.02325.92
8.1.270.0040.00424.09
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00623.56
8.1.230.0060.00622.77
8.1.220.0000.00919.66
8.1.210.0080.00020.77
8.1.200.0080.00019.00
8.1.190.0000.00819.10
8.1.180.0040.00419.38
8.1.170.0040.00420.54
8.1.160.0050.00320.36
8.1.150.0000.00820.37
8.1.140.0000.00820.37
8.1.130.0000.00921.53
8.1.120.0040.00419.52
8.1.110.0030.00719.46
8.1.100.0030.00619.46
8.1.90.0040.00419.43
8.1.80.0060.00319.57
8.1.70.0030.00619.51
8.1.60.0040.00419.62
8.1.50.0000.00819.32
8.1.40.0030.00619.21
8.1.30.0080.00019.74
8.1.20.0040.00419.66
8.1.10.0050.00919.50
8.1.00.0060.00319.37
8.0.300.0090.00021.71
8.0.290.0030.00518.63
8.0.280.0000.00719.97
8.0.270.0050.00219.12
8.0.260.0040.00419.93
8.0.250.0060.00318.84
8.0.240.0130.00018.96
8.0.230.0000.00718.88
8.0.220.0050.00218.84
8.0.210.0070.00318.66
8.0.200.0030.00318.89
8.0.190.0030.00518.94
8.0.180.0060.00318.82
8.0.170.0060.00318.71
8.0.160.0030.00618.64
8.0.150.0050.00518.57
8.0.140.0040.00418.77
8.0.130.0040.00413.33
8.0.120.0040.00419.05
8.0.110.0000.00818.92
8.0.100.0030.00618.81
8.0.90.0000.00818.80
8.0.80.0090.00618.88
8.0.70.0030.00618.99
8.0.60.0060.00318.98
8.0.50.0040.00418.84
8.0.30.0070.01319.15
8.0.20.0160.01018.94
8.0.10.0030.00519.09
8.0.00.0120.01118.88
7.4.330.0040.00015.55
7.4.320.0000.00818.58
7.4.300.0000.00718.66
7.4.290.0040.00418.79
7.4.280.0050.00318.73
7.4.270.0000.00718.57
7.4.260.0040.00418.40
7.4.250.0040.00418.59
7.4.240.0040.00518.68
7.4.230.0000.00818.54
7.4.220.0000.00718.68
7.4.210.0110.00818.65
7.4.200.0040.00418.80
7.4.160.0100.01018.41
7.4.130.0030.01418.47
7.4.120.0100.00718.46
7.4.110.0160.01218.54
7.4.100.0090.01618.45
7.4.90.0040.01318.53
7.4.80.0120.01019.39
7.4.70.0100.01018.37
7.4.60.0070.01018.51
7.4.50.0090.00618.61
7.4.40.0230.00018.41
7.4.00.0030.01316.77
7.3.330.0000.00513.11
7.3.320.0000.00513.02
7.3.310.0100.00018.07
7.3.300.0000.00717.95
7.3.290.0070.00018.32
7.3.280.0130.00618.24
7.3.260.0120.01018.41
7.3.240.0110.00818.29
7.3.230.0060.01618.59
7.3.210.0060.01218.17
7.3.200.0090.00918.30
7.3.190.0090.01018.32
7.3.180.0030.01418.11
7.3.170.0160.01018.37
7.3.160.0150.00618.52
7.3.50.0110.01216.77
7.3.40.0030.01316.38
7.3.30.0160.00016.78
7.3.20.0100.01016.29
7.3.10.0150.01516.34
7.3.00.0070.01416.62
7.2.330.0070.01418.73
7.2.320.0120.00818.55
7.2.310.0140.01418.66
7.2.300.0120.00418.77
7.2.290.0210.00618.65
7.2.180.0080.01116.70
7.2.170.0040.01916.96
7.2.160.0120.00416.66
7.2.150.0150.00616.81
7.2.140.0160.01216.54
7.2.130.0160.01016.64
7.2.120.0360.00616.59
7.2.110.0140.01016.42
7.2.100.0150.01416.75
7.2.90.0090.00916.97
7.2.80.0280.00616.62
7.2.70.0200.01016.76
7.2.60.0170.00816.84
7.2.50.0130.00816.38
7.2.40.0150.01116.76
7.2.30.0220.01316.71
7.2.20.0120.01616.52
7.2.10.0200.00316.67
7.2.00.0210.01516.73
7.1.280.0150.01316.08
7.1.270.0200.00016.00
7.1.260.0090.00815.75
7.1.250.0110.00516.08
7.1.240.0180.01216.05
7.1.230.0180.00915.91
7.1.220.0140.00315.80
7.1.210.0230.01016.00
7.1.200.0140.00516.24
7.1.190.0130.00415.94
7.1.180.0140.01316.14
7.1.170.4150.00316.13
7.1.160.0090.01715.89
7.1.150.0120.00815.95
7.1.140.0150.00715.79
7.1.130.0100.00715.93
7.1.120.0170.00015.88
7.1.110.0130.00716.23
7.1.100.0120.01615.95
7.1.90.0160.01016.10
7.1.80.0260.00616.05
7.1.70.0140.00516.04
7.1.60.0130.00616.10
7.1.50.0140.01115.83
7.1.40.0150.00616.00
7.1.30.0250.00716.08
7.1.20.0180.00715.95
7.1.10.0130.00415.66
7.1.00.1170.00315.84
7.0.330.0190.00815.47
7.0.320.0150.01115.61
7.0.310.0110.00915.60
7.0.300.0110.01115.35
7.0.290.0200.00315.42
7.0.280.0220.00715.37
7.0.270.0290.00415.29
7.0.260.0110.01815.50
7.0.250.0260.00615.43
7.0.240.0150.00815.78
7.0.230.0210.00315.64
7.0.220.0200.01415.59
7.0.210.0190.00815.66
7.0.200.0220.00515.43
7.0.190.0160.01615.31
7.0.180.2250.01315.73
7.0.170.0190.00815.31
7.0.160.0190.01115.78
7.0.150.0200.00615.57
7.0.140.0160.00515.65
7.0.130.0190.01315.46
7.0.120.0130.00915.48
7.0.110.0160.01215.64
7.0.100.0130.00915.50
7.0.90.0180.00415.27
7.0.80.0170.00815.52
7.0.70.0150.01515.56
7.0.60.0150.00615.74
7.0.50.0140.00315.63
7.0.40.0160.01615.23
7.0.30.0150.01415.19
7.0.20.0220.00415.32
7.0.10.0110.01115.50
7.0.00.0130.00715.24
5.6.400.0140.00616.15
5.6.390.0030.01916.30
5.6.380.0110.00415.99
5.6.370.0190.00716.52
5.6.360.0210.00916.42
5.6.350.0160.00816.46
5.6.340.0150.00416.45
5.6.330.0260.00616.32
5.6.320.0120.01516.50
5.6.310.0150.00516.14
5.6.300.0140.00516.16
5.6.290.0110.01116.32
5.6.280.0190.00416.24
5.6.270.0190.00816.18
5.6.260.0200.01016.44
5.6.250.0110.00716.47
5.6.240.0170.01316.41
5.6.230.0190.01016.14
5.6.220.0220.00316.04
5.6.210.0200.00716.18
5.6.200.0050.01416.25
5.6.190.0110.00516.39
5.6.180.0130.01216.42
5.6.170.0120.01216.44
5.6.160.0140.00515.99
5.6.150.0100.01016.24
5.6.140.0140.01216.08
5.6.130.0130.00316.28
5.6.120.0220.00416.21
5.6.110.0090.01116.22
5.6.100.0110.00616.26
5.6.90.0160.00516.55
5.6.80.0060.02216.31
5.6.70.0170.01116.12
5.6.60.0140.01416.21
5.6.50.0110.01116.30
5.6.40.0110.01116.10
5.6.30.0110.00916.45
5.6.20.0110.02216.07
5.6.10.0130.00816.09
5.6.00.0250.00616.17
5.5.380.0160.01315.84
5.5.370.0070.00916.57
5.5.360.0180.00916.17
5.5.350.0110.00816.23
5.5.340.0140.01416.37
5.5.330.0110.01316.00
5.5.320.0250.00616.44
5.5.310.0200.00816.56
5.5.300.0120.00616.14
5.5.290.0130.02016.09
5.5.280.0140.01116.52
5.5.270.0160.00416.22
5.5.260.0090.00916.42
5.5.250.0120.00616.20
5.5.240.0120.00616.35
5.5.230.0210.00616.22
5.5.220.0290.00316.26
5.5.210.0200.00316.00
5.5.200.0150.01015.93
5.5.190.0090.01516.22
5.5.180.0150.00916.33
5.5.170.0150.01215.98
5.5.160.0160.00416.34
5.5.150.0160.00816.00
5.5.140.0090.00916.17
5.5.130.0110.01516.27
5.5.120.0170.00716.04
5.5.110.0160.00916.39
5.5.100.0080.01316.04
5.5.90.0080.00816.07
5.5.80.0110.00616.12
5.5.70.0120.00616.33
5.5.60.0190.00815.85
5.5.50.0100.00716.10
5.5.40.0190.00516.06
5.5.30.0160.01016.14
5.5.20.0110.00716.51
5.5.10.0100.01615.97
5.5.00.0030.01516.09
5.4.450.0140.00711.26
5.4.440.0100.00711.26
5.4.430.0060.00611.26
5.4.420.0070.00511.26
5.4.410.0090.00211.26
5.4.400.0040.01111.26
5.4.390.0080.00411.26
5.4.380.0110.00211.26
5.4.370.0160.00011.26
5.4.360.0050.00811.26
5.4.350.0080.00511.26
5.4.340.0130.00711.26
5.4.330.0110.00211.26
5.4.320.0110.00811.26
5.4.310.0200.00011.26
5.4.300.0080.00411.26
5.4.290.0130.00911.26
5.4.280.0090.00611.26
5.4.270.0120.00911.26
5.4.260.0100.00511.26
5.4.250.0070.01411.26
5.4.240.0100.00311.26
5.4.230.0120.00911.26
5.4.220.0130.00011.26
5.4.210.0030.01011.26
5.4.200.0050.00811.26
5.4.190.0090.00611.26
5.4.180.0070.00511.26
5.4.170.0110.00011.26
5.4.160.0060.01011.26
5.4.150.0100.00311.26
5.4.140.0140.00411.26
5.4.130.0130.00611.26
5.4.120.0120.00311.26
5.4.110.0120.00611.26
5.4.100.0080.00811.26
5.4.90.0120.00511.26
5.4.80.0090.00611.26
5.4.70.0080.01211.26
5.4.60.0150.00011.26
5.4.50.0120.00611.26
5.4.40.0130.00911.26
5.4.30.0110.00811.26
5.4.20.0040.01511.26
5.4.10.0000.01111.26
5.4.00.0120.00311.26
5.3.290.0090.00411.26
5.3.280.0080.01111.26
5.3.270.0000.01211.26
5.3.260.0070.00411.26
5.3.250.0040.01111.26
5.3.240.0090.00311.26
5.3.230.0120.00311.26
5.3.220.0110.00611.26
5.3.210.0000.01011.26
5.3.200.0080.01111.26
5.3.190.0030.00711.26
5.3.180.0120.00411.26
5.3.170.0080.01211.26
5.3.160.0140.00711.26
5.3.150.0100.00411.26
5.3.140.0080.01211.26
5.3.130.0140.00611.26
5.3.120.0130.00011.26
5.3.110.0080.00611.26
5.3.100.0100.00711.26
5.3.90.0060.00911.26
5.3.80.0120.00611.26
5.3.70.0130.00311.26
5.3.60.0140.00011.26
5.3.50.0040.00811.26
5.3.40.0110.00711.26
5.3.30.0060.01111.26
5.3.20.0090.00011.26
5.3.10.0070.00711.26
5.3.00.0150.00311.26
5.2.170.0130.00311.26
5.2.160.0150.00311.26
5.2.150.0070.00711.26
5.2.140.0140.00011.26
5.2.130.0080.00411.26
5.2.120.0130.00311.26
5.2.110.0130.00311.26
5.2.100.0040.00711.26
5.2.90.0080.00811.26
5.2.80.0070.00011.26
5.2.70.0120.00411.26
5.2.60.0070.00711.26
5.2.50.0040.00811.26
5.2.40.0050.01111.26
5.2.30.0070.00411.26
5.2.20.0120.00211.26
5.2.10.0110.00411.26
5.2.00.0080.00411.26
5.1.60.0050.01011.26
5.1.50.0080.00311.26
5.1.40.0040.00811.26
5.1.30.0090.00011.26
5.1.20.0110.00011.26
5.1.10.0080.00311.26
5.1.00.0080.00011.26
5.0.50.0050.00311.26
5.0.40.0100.00211.26
5.0.30.0070.00011.26
5.0.20.0030.00311.26
5.0.10.0020.00711.26
5.0.00.0040.00411.26
4.4.90.0050.00511.26
4.4.80.0000.00811.26
4.4.70.0070.00411.26
4.4.60.0070.00311.26
4.4.50.0000.01011.26
4.4.40.0060.00611.26
4.4.30.0080.00411.26
4.4.20.0000.01211.26
4.4.10.0040.00811.26
4.4.00.0040.00411.26
4.3.110.0060.00211.26
4.3.100.0050.00011.26
4.3.90.0040.00411.26
4.3.80.0040.00411.26
4.3.70.0050.00011.26
4.3.60.0070.00411.26
4.3.50.0000.00911.26
4.3.40.0060.00011.26
4.3.30.0060.00011.26
4.3.20.0060.00011.26
4.3.10.0040.00411.26
4.3.00.0110.00311.26

preferences:
25.02 ms | 401 KiB | 5 Q