3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numberFormatter = new NumberFormatter('zh_HK' , NumberFormatter::CURRENCY); echo( $numberFormatter->getLocale() . PHP_EOL); echo( $numberFormatter->formatCurrency(10, 'EUR') );

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.0090.02519.21
8.3.50.0240.02623.45
8.3.40.0070.00720.21
8.3.30.0120.00320.05
8.3.20.0080.00021.80
8.3.10.0050.00325.06
8.3.00.0040.00421.13
8.2.180.0200.02020.92
8.2.170.0060.00922.96
8.2.160.0040.01121.60
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0050.00521.23
8.2.120.0030.00526.35
8.2.110.0090.00022.02
8.2.100.0130.00319.80
8.2.90.0000.00920.60
8.2.80.0050.00519.63
8.2.70.0000.00919.50
8.2.60.0090.00619.78
8.2.50.0000.00919.50
8.2.40.0000.00921.39
8.2.30.0000.00922.18
8.2.20.0080.00319.61
8.2.10.0030.00619.91
8.2.00.0000.00819.95
8.1.280.0100.02425.92
8.1.270.0030.00623.46
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00325.42
8.1.230.0040.00719.65
8.1.220.0040.00419.66
8.1.210.0030.00619.25
8.1.200.0070.00319.22
8.1.190.0050.00519.10
8.1.180.0030.00619.43
8.1.170.0000.01020.91
8.1.160.0020.00523.55
8.1.150.0000.00920.27
8.1.140.0060.00321.63
8.1.130.0060.00319.70
8.1.120.0000.00919.57
8.1.110.0060.00619.43
8.1.100.0000.01019.53
8.1.90.0070.00319.45
8.1.80.0050.00519.48
8.1.70.0040.00419.52
8.1.60.0000.01119.68
8.1.50.0040.00719.53
8.1.40.0130.00619.57
8.1.30.0040.00719.88
8.1.20.0050.00519.59
8.1.10.0050.00519.60
8.1.00.0170.00019.63
8.0.300.0030.00620.65
8.0.290.0030.00618.63
8.0.280.0000.00719.84
8.0.270.0050.00319.17
8.0.260.0030.00719.21
8.0.250.0040.00418.97
8.0.240.0050.00519.08
8.0.230.0080.00019.14
8.0.220.0060.00318.82
8.0.210.0050.00519.00
8.0.200.0000.00818.97
8.0.190.0040.00918.98
8.0.180.0050.00519.05
8.0.170.0180.00019.02
8.0.160.0080.00319.05
8.0.150.0070.00218.74
8.0.140.0050.00518.86
8.0.130.0030.00313.32
8.0.120.0090.00018.99
8.0.110.0040.00419.03
8.0.100.0040.00418.96
8.0.90.0040.00419.14
8.0.80.0170.00319.11
8.0.70.0030.00619.04
8.0.60.0040.00419.05
8.0.50.0030.00618.83
8.0.30.0100.01019.37
8.0.20.0160.01319.28
8.0.10.0000.00819.10
8.0.00.0140.00818.84
7.4.330.0050.00016.81
7.4.320.0000.00918.66
7.4.300.0030.00618.59
7.4.290.0080.00018.48
7.4.280.0040.00818.64
7.4.270.0100.00018.57
7.4.260.0000.00718.54
7.4.250.0040.00418.59
7.4.240.0050.00318.52
7.4.230.0080.00018.64
7.4.220.0090.01618.71
7.4.210.0090.00818.59
7.4.200.0050.00318.57
7.4.160.0060.01218.45
7.4.150.0090.00918.27
7.4.140.0130.01318.47
7.4.130.0110.01118.62
7.4.120.0070.01818.50
7.4.110.0200.00718.57
7.4.100.0160.01018.26
7.4.90.0130.00718.64
7.4.80.0070.01419.39
7.4.70.0030.01818.35
7.4.60.0120.00818.67
7.4.50.0030.01718.40
7.4.40.0100.01018.52
7.4.30.0090.00918.59
7.4.00.0050.01216.81
7.3.330.0030.00313.02
7.3.320.0030.00213.13
7.3.310.0050.00218.47
7.3.300.0000.01018.43
7.3.290.0040.00418.36
7.3.280.0100.00918.39
7.3.270.0170.00618.47
7.3.260.0100.01018.35
7.3.250.0120.00818.65
7.3.240.0190.00918.61
7.3.230.0070.01018.39
7.3.210.0120.00818.56
7.3.200.0210.00018.77
7.3.190.0170.00718.50
7.3.180.0160.00518.67
7.3.170.0090.01218.80
7.3.160.0110.01418.47
7.3.120.0070.01016.91
7.3.110.0070.01016.86
7.3.100.0070.00316.57
7.3.90.0000.01516.92
7.3.80.0060.00916.91
7.3.70.0030.01316.86
7.3.60.0050.00516.64
7.3.50.0060.01016.95
7.3.40.0090.00916.84
7.3.30.0060.00916.63
7.3.20.0070.01018.48
7.3.10.0050.00718.51
7.3.00.0080.00918.40
7.2.330.0130.00718.90
7.2.320.0140.00418.55
7.2.310.0060.01218.23
7.2.300.0090.01018.45
7.2.290.0160.00618.86
7.2.250.0130.00317.26
7.2.240.0070.01116.95
7.2.230.0110.00717.10
7.2.220.0000.01316.77
7.2.210.0030.01317.13
7.2.200.0070.00716.87
7.2.190.0000.00916.90
7.2.180.0070.00317.00
7.2.170.0060.01217.14
7.2.160.0060.01016.86
7.2.150.0070.00318.84
7.2.140.0000.01218.93
7.2.130.0090.00818.95
7.2.120.0080.00818.82
7.2.110.0080.00818.91
7.2.100.0080.00619.01
7.2.90.0080.01018.97
7.2.80.0050.01218.91
7.2.70.0110.00819.01
7.2.60.0100.00718.95
7.2.50.0080.00918.94
7.2.40.0050.01118.90
7.2.30.0070.00819.05
7.2.20.0050.01218.93
7.2.10.0060.01019.01
7.2.00.0060.00919.55
7.1.330.0040.01517.67
7.1.320.0040.01417.67
7.1.310.0030.01017.52
7.1.300.0120.00317.70
7.1.290.0040.01417.54
7.1.280.0040.00817.65
7.1.270.0030.01017.69
7.1.260.0040.01217.82
7.1.250.0080.00617.62
7.1.240.0060.00817.84
7.1.230.0090.00917.81
7.1.220.0080.00717.78
7.1.210.0130.00517.54
7.1.200.0100.00717.79
7.1.190.0090.00917.76
7.1.180.0090.00917.52
7.1.170.0110.00617.71
7.1.160.0080.00717.59
7.1.150.0080.00717.67
7.1.140.0130.00317.78
7.1.130.0080.00817.84
7.1.120.0100.00517.51
7.1.110.0080.00417.80
7.1.100.0040.00918.47
7.1.90.0080.00617.65
7.1.80.0090.00517.74
7.1.70.0040.00718.09
7.1.60.0080.01018.25
7.1.50.0060.00918.31
7.1.40.0030.01117.67
7.1.30.0070.00617.72
7.1.20.0090.00917.89
7.1.10.0040.01017.82
7.1.00.0090.02819.97
7.0.330.0060.01017.33
7.0.320.0110.00517.47
7.0.310.0140.00517.48
7.0.300.0100.00517.40
7.0.290.0080.00917.54
7.0.280.0030.01017.54
7.0.270.0080.00717.52
7.0.260.0110.00317.53
7.0.250.0040.01117.37
7.0.240.0110.00517.45
7.0.230.0070.00417.54
7.0.220.0070.00717.51
7.0.210.0100.00517.46
7.0.200.0130.00817.34
7.0.190.0030.01017.40
7.0.180.0060.00817.26
7.0.170.0090.00417.36
7.0.160.0050.01217.34
7.0.150.0090.00417.34
7.0.140.0060.00917.46
7.0.130.0030.01117.40
7.0.120.0040.00817.44
7.0.110.0060.00817.43
7.0.100.0020.01217.33
7.0.90.0060.00617.18
7.0.80.0070.00517.37
7.0.70.0130.00317.26
7.0.60.0050.03318.89
7.0.50.0050.02317.54
7.0.40.0010.02417.55
7.0.30.0120.03217.71
7.0.20.0120.02917.61
7.0.10.0040.03617.43
7.0.00.0070.02817.63
5.6.380.0100.00516.28
5.6.370.0050.00816.56
5.6.360.0060.00716.30
5.6.350.0080.00716.41
5.6.340.0100.00316.27
5.6.330.0070.00716.29
5.6.320.0060.00616.50
5.6.310.0070.00716.35
5.6.300.0040.00716.44
5.6.290.0050.00616.54
5.6.280.0060.01918.56
5.6.270.0020.01216.45
5.6.260.0030.01216.57
5.6.250.0050.00816.33
5.6.240.0000.01216.40
5.6.230.0030.01216.36
5.6.220.0070.00716.28
5.6.210.0030.02418.42
5.6.200.0050.02516.93
5.6.190.0090.01918.49
5.6.180.0150.02818.36
5.6.170.0140.01718.27
5.6.160.0020.02418.22
5.6.150.0100.02716.86
5.6.140.0010.02616.99
5.6.130.0110.02816.92
5.6.120.0070.02118.52
5.6.110.0070.01718.74
5.6.100.0030.03518.37
5.6.90.0030.02618.51
5.6.80.0030.03518.24
5.6.70.0050.00516.32
5.6.60.0030.01016.36
5.6.50.0040.00716.28
5.6.40.0060.00616.12
5.6.30.0060.00716.39
5.6.20.0070.00416.28
5.6.10.0060.00816.40
5.6.00.0040.00716.30
5.5.380.0050.00210.84
5.5.370.0060.00410.91
5.5.360.0010.00610.87
5.5.350.0060.02514.74
5.5.340.0050.02413.25
5.5.330.0080.02514.70
5.5.320.0240.02414.63
5.5.310.0100.01714.63
5.5.300.0050.03113.20
5.5.290.0060.01813.29
5.5.280.0070.03014.83
5.5.270.0070.02814.95
5.5.260.0030.03414.96
5.5.250.0010.03314.71
5.5.240.0120.02814.74
5.5.230.0000.00710.82
5.5.220.0040.00410.86
5.5.210.0020.00510.69
5.5.200.0020.00610.86
5.5.190.0040.00410.83
5.5.180.0060.00410.88
5.5.170.0060.00110.71
5.5.160.0000.00710.77
5.5.150.0040.00510.82
5.5.140.0030.00810.88
5.5.130.0030.00510.87
5.5.120.0010.00610.83
5.5.110.0010.00710.89
5.5.100.0030.00710.97
5.5.90.0000.00810.86
5.5.80.0050.00510.96
5.5.70.0030.00510.94
5.5.60.0070.00210.75
5.5.50.0020.00510.90
5.5.40.0020.00410.86
5.5.30.0000.00710.82
5.5.20.0080.00310.76
5.5.10.0040.00410.94
5.5.00.0070.00210.95

preferences:
44.76 ms | 401 KiB | 5 Q