3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numberFormatter = new NumberFormatter('es_MX' , 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.0000.03319.50
8.3.50.0110.02223.49
8.3.40.0070.01020.34
8.3.30.0080.00820.17
8.3.20.0040.00421.79
8.3.10.0090.00025.11
8.3.00.0040.00421.25
8.2.180.0130.02019.25
8.2.170.0090.00922.96
8.2.160.0170.00322.02
8.2.150.0080.00824.18
8.2.140.0080.00024.66
8.2.130.0060.00319.63
8.2.120.0030.00526.35
8.2.110.0030.00722.14
8.2.100.0090.00320.17
8.2.90.0040.00420.88
8.2.80.0090.00019.75
8.2.70.0060.00319.75
8.2.60.0110.00419.41
8.2.50.0040.00419.50
8.2.40.0030.00521.41
8.2.30.0040.00422.09
8.2.20.0030.00619.80
8.2.10.0060.00319.99
8.2.00.0030.00620.11
8.1.280.0130.02025.92
8.1.270.0030.00623.58
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0030.00625.55
8.1.230.0040.00821.69
8.1.220.0000.00819.91
8.1.210.0040.00419.48
8.1.200.0090.00019.25
8.1.190.0090.00019.60
8.1.180.0000.00819.43
8.1.170.0030.00621.87
8.1.160.0000.00723.63
8.1.150.0050.00320.52
8.1.140.0060.00321.60
8.1.130.0040.00419.74
8.1.120.0000.00819.70
8.1.110.0080.00019.58
8.1.100.0080.00019.66
8.1.90.0040.00419.41
8.1.80.0000.00719.50
8.1.70.0000.00719.24
8.1.60.0040.00419.61
8.1.50.0000.00919.49
8.1.40.0100.00319.57
8.1.30.0060.00319.81
8.1.20.0030.00519.79
8.1.10.0060.00319.75
8.1.00.0030.00919.60
8.0.300.0030.00618.87
8.0.290.0040.00418.88
8.0.280.0040.00420.00
8.0.270.0040.00419.43
8.0.260.0040.00419.38
8.0.250.0040.00419.15
8.0.240.0050.00319.07
8.0.230.0060.00319.14
8.0.220.0040.00419.07
8.0.210.0060.00319.10
8.0.200.0070.00019.11
8.0.190.0080.00018.99
8.0.180.0040.00419.01
8.0.170.0040.00719.15
8.0.160.0040.00418.89
8.0.150.0030.00618.80
8.0.140.0040.00418.95
8.0.130.0000.00813.27
8.0.120.0060.00319.14
8.0.110.0060.00319.20
8.0.100.0000.00819.14
8.0.90.0050.00319.06
8.0.80.0090.00919.15
8.0.70.0050.00319.09
8.0.60.0050.00318.96
8.0.50.0040.00419.04
8.0.30.0110.00819.36
8.0.20.0100.00919.29
8.0.10.0050.00319.11
8.0.00.0100.00918.91
7.4.330.0000.00516.70
7.4.320.0070.00018.85
7.4.300.0040.00418.76
7.4.290.0040.00418.84
7.4.280.0040.00418.46
7.4.270.0040.00418.54
7.4.260.0000.00718.87
7.4.250.0040.00418.75
7.4.240.0020.00618.72
7.4.230.0040.00418.38
7.4.220.0060.01318.82
7.4.210.0060.01018.80
7.4.200.0040.00418.69
7.4.160.0060.01018.50
7.4.150.0170.00318.82
7.4.140.0150.01218.64
7.4.130.0110.01118.58
7.4.120.0080.01218.60
7.4.110.0190.00318.77
7.4.100.0070.01118.70
7.4.90.0070.01118.49
7.4.80.0140.00419.39
7.4.70.0070.01118.72
7.4.60.0110.00618.77
7.4.50.0070.00318.64
7.4.40.0100.01018.82
7.4.30.0000.01818.65
7.4.10.0060.01217.02
7.4.00.0080.01016.85
7.3.330.0050.00013.18
7.3.320.0060.00013.10
7.3.310.0030.00518.48
7.3.300.0040.00418.27
7.3.290.0040.00418.39
7.3.280.0080.01118.46
7.3.270.0090.00918.50
7.3.260.0080.00918.70
7.3.250.0100.00818.38
7.3.240.0140.00618.56
7.3.230.0110.00718.61
7.3.210.0120.00818.80
7.3.200.0080.01118.44
7.3.190.0030.01418.49
7.3.180.0100.00718.89
7.3.170.0070.01618.51
7.3.160.0040.01318.46
7.3.130.0070.01016.71
7.3.120.0060.01217.15
7.3.110.0040.01016.95
7.3.100.0060.00717.04
7.3.90.0060.00617.04
7.3.80.0040.01116.95
7.3.70.0080.00717.09
7.3.60.0030.01016.95
7.3.50.0030.01117.05
7.3.40.0060.00717.04
7.3.30.0050.01017.00
7.3.20.0040.01118.77
7.3.10.0060.00918.60
7.3.00.0080.00718.66
7.2.330.0060.01218.84
7.2.320.0070.01418.61
7.2.310.0030.01518.98
7.2.300.0120.00919.00
7.2.290.0090.00918.94
7.2.260.0080.00816.99
7.2.250.0090.01217.37
7.2.240.0100.00517.19
7.2.230.0060.00817.00
7.2.220.0030.01117.27
7.2.210.0100.00517.20
7.2.200.0050.00917.15
7.2.190.0060.00817.08
7.2.180.0030.01217.22
7.2.170.0060.00817.07
7.2.160.0060.00917.11
7.2.150.0090.00418.90
7.2.140.0080.00718.88
7.2.130.0060.00919.01
7.2.120.0080.00618.89
7.2.110.0050.00818.95
7.2.100.0070.00919.02
7.2.90.0050.00919.08
7.2.80.0040.01119.03
7.2.70.0050.00919.10
7.2.60.0060.00919.07
7.2.50.0050.00918.92
7.2.40.0070.00918.90
7.2.30.0040.01019.06
7.2.20.0050.00819.00
7.2.10.0050.01018.90
7.2.00.0060.00819.48
7.1.330.0090.00817.85
7.1.320.0010.01317.82
7.1.310.0060.00917.86
7.1.300.0080.00717.83
7.1.290.0070.00617.97
7.1.280.0050.00617.79
7.1.270.0030.01317.82
7.1.260.0060.00717.80
7.1.250.0040.00917.83
7.1.240.0090.00317.83
7.1.230.0030.01418.05
7.1.220.0060.00618.08
7.1.210.0040.01417.78
7.1.200.0070.00517.76
7.1.190.0040.00717.79
7.1.180.0030.01317.92
7.1.170.0060.00917.82
7.1.160.0050.00517.69
7.1.150.0070.00717.70
7.1.140.0030.00718.05
7.1.130.0060.00618.07
7.1.120.0070.01117.97
7.1.110.0070.00617.72
7.1.100.0050.00819.04
7.1.90.0080.00817.84
7.1.80.0030.00617.75
7.1.70.0080.00318.71
7.1.60.0050.01518.89
7.1.50.0080.00818.44
7.1.40.0030.01617.68
7.1.30.0070.01118.04
7.1.20.0080.00418.11
7.1.10.0060.00917.88
7.1.00.0090.03621.23
7.0.330.0040.01117.58
7.0.320.0110.00417.74
7.0.310.0040.01117.80
7.0.300.0070.01017.25
7.0.290.0070.00717.34
7.0.280.0000.01217.37
7.0.270.0040.00717.56
7.0.260.0090.00317.78
7.0.250.0060.00317.63
7.0.240.0030.01217.57
7.0.230.0070.00717.72
7.0.220.0000.01417.57
7.0.210.0070.00717.78
7.0.200.0080.00417.54
7.0.190.0040.01117.71
7.0.180.0060.01217.59
7.0.170.0070.01117.89
7.0.160.0000.01417.55
7.0.150.0040.01117.70
7.0.140.0000.01017.59
7.0.130.0080.00817.60
7.0.120.0090.00617.71
7.0.110.0000.01517.37
7.0.100.0060.00917.46
7.0.90.0000.01417.38
7.0.80.0080.00417.61
7.0.70.0090.00617.70
7.0.60.0050.04719.77
7.0.50.0070.03517.57
7.0.40.0090.02318.91
7.0.30.0130.04518.79
7.0.20.0110.02618.68
7.0.10.0050.04618.89
7.0.00.0070.04918.84
5.6.400.0040.01116.74
5.6.390.0060.00916.83
5.6.380.0090.00916.10
5.6.370.0050.00516.14
5.6.360.0150.00016.76
5.6.350.0000.01416.46
5.6.340.0100.00616.42
5.6.330.0090.00316.56
5.6.320.0040.00816.67
5.6.310.0040.01116.68
5.6.300.0040.01416.52
5.6.290.0090.00316.71
5.6.280.0040.01920.00
5.6.270.0070.00716.50
5.6.260.0040.00416.59
5.6.250.0030.00616.48
5.6.240.0040.00816.59
5.6.230.0040.01216.40
5.6.220.0070.01016.40
5.6.210.0090.04219.60
5.6.200.0120.04117.35
5.6.190.0050.05119.64
5.6.180.0120.02519.51
5.6.170.0060.03119.49
5.6.160.0070.02519.43
5.6.150.0050.05017.37
5.6.140.0080.04117.27
5.6.130.0100.04217.39
5.6.120.0110.02219.90
5.6.110.0040.04419.87
5.6.100.0100.04319.73
5.6.90.0090.02319.86
5.6.80.0050.03619.70
5.6.70.0000.01716.48
5.6.60.0080.00416.50
5.6.50.0000.01416.14
5.6.40.0080.00616.47
5.6.30.0100.00716.40
5.6.20.0070.00716.30
5.6.10.0000.01716.58
5.6.00.0070.00716.45
5.5.380.0070.01016.59
5.5.370.0000.01616.59
5.5.360.0030.00616.39
5.5.350.0020.04719.39
5.5.340.0050.02317.15
5.5.330.0080.02719.38
5.5.320.0110.04519.27
5.5.310.0130.02919.31
5.5.300.0030.03317.26
5.5.290.0070.04317.25
5.5.280.0020.04219.40
5.5.270.0120.01719.67
5.5.260.0130.04519.66
5.5.250.0090.04419.33
5.5.240.0120.03919.24
5.5.230.0030.00916.40
5.5.220.0070.01116.52
5.5.210.0150.00316.05
5.5.200.0060.01316.38
5.5.190.0070.01016.33
5.5.180.0070.01116.30
5.5.170.0000.01716.36
5.5.160.0000.01316.54
5.5.150.0070.00716.34
5.5.140.0100.00016.18
5.5.130.0060.00916.53
5.5.120.0030.01615.98
5.5.110.0040.01116.66
5.5.100.0000.01916.19
5.5.90.0070.00716.39
5.5.80.0030.01316.20
5.5.70.0040.01116.36
5.5.60.0040.01116.08
5.5.50.0030.00916.44
5.5.40.0120.00416.10
5.5.30.0030.01016.41
5.5.20.0060.00916.52
5.5.10.0000.00916.34
5.5.00.0100.00616.25

preferences:
56.65 ms | 401 KiB | 5 Q