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.0170.02119.25
8.3.50.0100.02423.47
8.3.40.0100.00720.31
8.3.30.0110.01120.14
8.3.20.0080.00021.82
8.3.10.0090.00025.29
8.3.00.0030.00621.38
8.2.180.0030.02419.50
8.2.170.0160.00322.96
8.2.160.0150.00021.85
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0080.00019.63
8.2.120.0040.00426.35
8.2.110.0060.00322.18
8.2.100.0130.00019.91
8.2.90.0080.00020.34
8.2.80.0000.00819.63
8.2.70.0060.00319.75
8.2.60.0050.00520.04
8.2.50.0030.00619.63
8.2.40.0040.00421.52
8.2.30.0030.00622.22
8.2.20.0040.00719.74
8.2.10.0090.00020.23
8.2.00.0030.00620.11
8.1.280.0070.02125.92
8.1.270.0060.00323.80
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0090.00023.88
8.1.230.0070.00423.10
8.1.220.0030.00619.79
8.1.210.0030.00620.97
8.1.200.0030.00619.38
8.1.190.0030.00519.35
8.1.180.0090.00019.66
8.1.170.0030.00521.85
8.1.160.0040.00423.64
8.1.150.0000.00820.42
8.1.140.0000.00821.64
8.1.130.0040.00419.86
8.1.120.0050.00319.65
8.1.110.0000.00819.58
8.1.100.0040.00419.53
8.1.90.0040.00419.61
8.1.80.0000.00719.56
8.1.70.0070.00019.32
8.1.60.0060.00319.68
8.1.50.0040.00719.55
8.1.40.0000.01219.71
8.1.30.0060.00320.00
8.1.20.0040.00419.89
8.1.10.0040.00419.77
8.1.00.0030.00719.66
8.0.300.0000.00921.89
8.0.290.0000.00818.88
8.0.280.0020.00520.07
8.0.270.0060.00318.93
8.0.260.0040.00419.43
8.0.250.0050.00319.07
8.0.240.0000.00719.16
8.0.230.0020.00519.17
8.0.220.0040.00418.97
8.0.210.0080.00019.09
8.0.200.0000.00719.17
8.0.190.0050.00319.11
8.0.180.0030.00519.07
8.0.170.0100.00019.09
8.0.160.0040.00418.91
8.0.150.0080.00018.87
8.0.140.0050.00319.05
8.0.130.0030.00313.38
8.0.120.0030.00619.13
8.0.110.0060.00319.12
8.0.100.0050.00319.16
8.0.90.0040.00419.06
8.0.80.0160.00319.17
8.0.70.0080.00019.17
8.0.60.0030.00518.88
8.0.50.0040.00419.03
8.0.30.0170.01219.24
8.0.20.0130.00719.12
8.0.10.0030.00519.13
8.0.00.0100.00918.90
7.4.330.0020.00216.78
7.4.320.0030.00318.90
7.4.300.0000.00818.79
7.4.290.0040.00418.67
7.4.280.0000.00818.61
7.4.270.0000.00718.88
7.4.260.0020.00518.68
7.4.250.0030.00618.82
7.4.240.0050.00318.90
7.4.230.0040.00418.98
7.4.220.0040.01418.82
7.4.210.0080.00718.76
7.4.200.0040.00418.50
7.4.160.0040.01118.71
7.4.150.0170.00318.68
7.4.140.0080.01218.66
7.4.130.0110.01018.59
7.4.120.0120.00918.53
7.4.110.0020.02018.58
7.4.100.0120.00618.55
7.4.90.0090.00918.54
7.4.80.0110.00719.39
7.4.70.0100.00718.70
7.4.60.0040.01318.61
7.4.50.0070.01118.57
7.4.40.0110.00618.65
7.4.30.0070.01018.69
7.4.00.0030.01017.14
7.3.330.0030.00313.13
7.3.320.0050.00013.10
7.3.310.0040.00418.28
7.3.300.0000.00718.51
7.3.290.0030.00318.33
7.3.280.0070.01018.49
7.3.270.0150.00318.57
7.3.260.0070.01118.55
7.3.250.0170.01618.45
7.3.240.0100.01018.72
7.3.230.0080.01018.71
7.3.210.0060.01218.70
7.3.200.0180.00518.76
7.3.190.0050.01318.49
7.3.180.0060.01118.72
7.3.170.0070.01618.87
7.3.160.0100.00718.48
7.2.330.0090.00918.94
7.2.320.0180.00918.69
7.2.310.0160.00018.71
7.2.300.0150.00318.63
7.2.290.0150.00318.94
7.2.60.0030.01218.80
7.2.00.0040.01821.84
7.1.200.0000.01218.06
7.1.100.0000.01220.16
7.1.70.0060.00319.40
7.1.60.0070.02019.82
7.1.50.0130.00919.34
7.1.00.0030.07724.65
7.0.200.0090.00617.13
7.0.60.0100.08022.06
7.0.50.0070.07717.81
7.0.40.0030.04721.88
7.0.30.0200.08322.28
7.0.20.0100.04722.04
7.0.10.0170.08022.22
7.0.00.0030.04722.04
5.6.280.0000.04322.93
5.6.210.0030.07322.65
5.6.200.0070.07718.16
5.6.190.0070.07722.39
5.6.180.0200.03722.53
5.6.170.0200.03722.41
5.6.160.0030.04022.41
5.6.150.0100.07318.22
5.6.140.0070.07018.07
5.6.130.0070.08318.20
5.6.120.0100.08722.99
5.6.110.0030.08023.09
5.6.100.0070.07723.41
5.6.90.0070.04323.40
5.6.80.0070.05722.36
5.5.350.0100.07322.54
5.5.340.0130.07317.97
5.5.330.0070.05022.71
5.5.320.0370.04022.38
5.5.310.0230.04022.13
5.5.300.0070.04717.95
5.5.290.0100.03717.96
5.5.280.0200.07322.88
5.5.270.0070.04022.64
5.5.260.0170.04022.64
5.5.250.0230.06022.51
5.5.240.0200.07722.05

preferences:
49.63 ms | 401 KiB | 5 Q