3v4l.org

run code in 200+ PHP versions simultaneously
<?php $fmt = numfmt_create('en_US', NumberFormatter::TYPE_CURRENCY ); echo numfmt_format_currency($fmt, 32.00, "USD")."\n"; $fmt = new NumberFormatter( 'en_US', NumberFormatter::CURRENCY ); echo $fmt->formatCurrency(32.00, "USD")."\n";
based on WB9eT

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)
7.4.60.0060.01018.56
7.4.50.0070.01018.40
7.4.00.0040.01217.19
7.3.180.0100.00718.48
7.3.70.0080.00616.54
7.3.60.0040.00916.76
7.3.50.0120.00516.73
7.3.40.0050.00816.78
7.3.30.0130.00716.74
7.3.20.0090.00617.71
7.3.10.0140.00817.64
7.3.00.0110.00617.73
7.2.200.0080.00816.81
7.2.190.0090.00816.64
7.2.180.0100.00916.90
7.2.170.0080.00816.91
7.2.160.0090.01216.86
7.2.150.0090.01217.90
7.2.140.0120.00917.98
7.2.130.0090.00917.95
7.2.120.0150.00818.13
7.2.110.0090.00818.14
7.2.100.0140.00917.97
7.2.90.0160.00217.97
7.2.80.0110.00917.89
7.2.70.0090.00918.07
7.2.60.0120.00718.14
7.2.50.0100.00818.06
7.2.40.0180.00618.04
7.2.30.0120.01017.97
7.2.20.0090.01218.05
7.2.10.0070.01017.92
7.2.00.0130.00618.16
7.1.300.0140.00716.97
7.1.290.0050.00916.80
7.1.280.0090.00516.90
7.1.270.0090.00916.83
7.1.260.0110.00716.90
7.1.250.0130.00417.02
7.1.240.0210.01516.83
7.1.230.0240.00316.75
7.1.220.0460.00816.64
7.1.210.0130.01716.90
7.1.200.0180.00716.93
7.1.190.0170.00816.90
7.1.180.0100.01316.93
7.1.170.0220.00816.70
7.1.160.0150.00816.86
7.1.150.0140.01116.77
7.1.140.0190.00516.81
7.1.130.0130.01016.70
7.1.120.0240.00716.82
7.1.110.0210.00416.87
7.1.100.0170.01016.81
7.1.90.0200.01016.53
7.1.80.0140.00916.64
7.1.70.0110.00816.91
7.1.60.0170.00816.93
7.1.50.0160.01016.67
7.1.40.0180.00616.75
7.1.30.0620.01016.59
7.1.20.0140.01216.67
7.1.10.0220.00116.90
7.1.00.0150.01016.76
7.0.330.0180.00816.31
7.0.320.0200.00516.49
7.0.310.0140.01116.31
7.0.300.0200.00616.49
7.0.290.0150.00616.45
7.0.280.0160.01316.55
7.0.270.0120.00916.40
7.0.260.0110.01616.14
7.0.250.0230.00316.32
7.0.240.0200.01016.58
7.0.230.0160.00816.51
7.0.220.0170.01216.50
7.0.210.0150.00816.45
7.0.200.0170.01016.42
7.0.190.0200.00716.57
7.0.180.0070.01216.29
7.0.170.0150.01216.48
7.0.160.0150.01016.40
7.0.150.0210.00416.68
7.0.140.0170.00916.58
7.0.130.0230.00516.39
7.0.120.0180.01016.43
7.0.110.0160.01216.42
7.0.100.0320.00016.23
7.0.90.0160.00616.36
7.0.80.0130.01116.35
7.0.70.0100.00616.23
7.0.60.0130.00916.22
7.0.50.0200.00916.31
7.0.40.0160.00716.19
7.0.30.0180.00416.26
7.0.20.0140.01016.35
7.0.10.0130.01016.32
7.0.00.0160.00916.34
5.6.400.0140.01216.31
5.6.390.0120.01016.48
5.6.380.0120.01516.22
5.6.370.0120.00916.44
5.6.360.0140.00716.34
5.6.350.0170.00916.48
5.6.340.0090.01316.29
5.6.330.0100.01216.44
5.6.320.0130.01216.41
5.6.310.0170.00316.44
5.6.300.0120.00716.27
5.6.290.0110.01516.59
5.6.280.0140.01016.47
5.6.270.0050.01516.29
5.6.260.0140.00816.36
5.6.250.0080.01316.39
5.6.240.0100.01116.34
5.6.230.0160.00316.40
5.6.220.0070.01116.25
5.6.210.0100.00616.44
5.6.200.0040.01916.28
5.6.190.0100.00916.17
5.6.180.0060.01216.17
5.6.170.0120.00916.26
5.6.160.0100.01116.13
5.6.150.0060.01116.33
5.6.140.0160.00416.29
5.6.130.0190.00416.36
5.6.120.0150.00816.20
5.6.110.0120.00616.46
5.6.100.0070.01316.28
5.6.90.0110.01016.41
5.6.80.0090.01116.28
5.6.70.0100.01016.18
5.6.60.0180.00616.28
5.6.50.0080.01016.17
5.6.40.0130.01116.28
5.6.30.0150.00716.34
5.6.20.0140.00916.26
5.6.10.0130.00916.18
5.6.00.0130.00716.22
5.5.380.0160.00716.04
5.5.370.0110.00816.31
5.5.360.0100.00916.21
5.5.350.0130.00516.25
5.5.340.0100.01016.34
5.5.330.0140.00316.36
5.5.320.0110.00416.24
5.5.310.0050.01716.04
5.5.300.0150.01016.26
5.5.290.0140.00816.22
5.5.280.0150.00916.31
5.5.270.0050.01316.02
5.5.260.0070.01316.36
5.5.250.0130.00716.25
5.5.240.0130.00516.28
5.5.230.0120.01116.17
5.5.220.0130.01116.23
5.5.210.0050.01316.27
5.5.200.0150.00316.02
5.5.190.0130.01016.11
5.5.180.0120.01016.33
5.5.170.0160.00616.20
5.5.160.0150.00916.31
5.5.150.0090.01116.22
5.5.140.0140.00816.28
5.5.130.0080.01315.89
5.5.120.0030.01516.28
5.5.110.0160.00216.16
5.5.100.0080.01116.26
5.5.90.0130.00816.20
5.5.80.0130.00716.23
5.5.70.0110.00816.15
5.5.60.0110.00815.88
5.5.50.0120.00616.03
5.5.40.0120.00716.26
5.5.30.0080.00916.38
5.5.20.0070.01116.01
5.5.10.0160.00116.31
5.5.00.0120.00816.31
5.4.450.0120.00510.73
5.4.440.0060.01110.70
5.4.430.0090.00810.83
5.4.420.0100.00710.74
5.4.410.0070.00910.65
5.4.400.0140.00410.61
5.4.390.0110.00810.47
5.4.380.0080.00610.64
5.4.370.0090.00610.82
5.4.360.0120.00510.59
5.4.350.0130.00510.79
5.4.340.0070.01010.69
5.4.330.0120.00610.66
5.4.320.0110.00610.72
5.4.310.0100.00310.67
5.4.300.0140.00210.70
5.4.290.0120.00310.75
5.4.280.0080.00810.78
5.4.270.0100.00310.68
5.4.260.0070.00710.53
5.4.250.0050.00810.59
5.4.240.0080.00610.64
5.4.230.0070.00610.59
5.4.220.0080.00710.84
5.4.210.0060.00410.51
5.4.200.0080.00410.65
5.4.190.0120.00410.64
5.4.180.0090.00610.73
5.4.170.0030.00910.61
5.4.160.0090.00410.59
5.4.150.0070.00510.60
5.4.140.0080.00510.75
5.4.130.0080.00510.78
5.4.120.0080.00610.62
5.4.110.0080.00610.55
5.4.100.0110.00410.74
5.4.90.0070.00710.75
5.4.80.0100.00310.72
5.4.70.0130.00510.68
5.4.60.0070.01010.68
5.4.50.0080.00610.63
5.4.40.0090.00410.71
5.4.30.0110.00610.68
5.4.20.0090.00810.76
5.4.10.0080.00410.72
5.4.00.0090.00510.76
5.3.290.0090.00410.27
5.3.280.0100.00310.15
5.3.270.0070.00510.15
5.3.260.0080.00410.21
5.3.250.0060.00910.20
5.3.240.0110.0039.99
5.3.230.0070.00710.17
5.3.220.0090.00310.06
5.3.210.0100.00310.12
5.3.200.0070.00510.25
5.3.190.0050.00910.23
5.3.180.0100.00410.38
5.3.170.0110.00710.31
5.3.160.0070.00810.29
5.3.150.0080.00610.28
5.3.140.0110.00310.30
5.3.130.0080.00610.24
5.3.120.0070.00610.20
5.3.110.0130.00310.32
5.3.100.0070.00510.33
5.3.90.0100.00210.28
5.3.80.0090.00310.12
5.3.70.0090.00610.18
5.3.60.0090.00710.24
5.3.50.0090.00510.22
5.3.40.0080.00710.19
5.3.30.0140.00210.20
5.3.20.0070.00810.15
5.3.10.0110.00610.01
5.3.00.0060.0089.96
5.2.170.0060.0049.95
5.2.160.0060.0049.95
5.2.150.0070.0049.95
5.2.140.0090.0049.95
5.2.130.0070.0049.95
5.2.120.0060.0049.95
5.2.110.0040.0089.95
5.2.100.0070.0069.95
5.2.90.0110.0009.95
5.2.80.0100.0019.95
5.2.70.0090.0059.95
5.2.60.0060.0059.95
5.2.50.0090.0049.95
5.2.40.0090.0089.95
5.2.30.0060.0089.95
5.2.20.0090.0059.95
5.2.10.0080.0069.95
5.2.00.0060.0069.95
5.1.60.0110.0009.95
5.1.50.0080.0039.95
5.1.40.0060.0039.95
5.1.30.0090.0059.95
5.1.20.0050.0059.95
5.1.10.0050.0039.95
5.1.00.0050.0049.95
5.0.50.0050.0049.95
5.0.40.0020.0059.95
5.0.30.0070.0029.95
5.0.20.0070.0029.95
5.0.10.0030.0079.95
5.0.00.0040.0049.95
4.4.90.0030.0079.95
4.4.80.0070.0009.95
4.4.70.0070.0039.95
4.4.60.0030.0049.95
4.4.50.0070.0029.95
4.4.40.0040.0039.95
4.4.30.0040.0049.95
4.4.20.0030.0049.95
4.4.10.0030.0039.95
4.4.00.0000.0079.95
4.3.110.0070.0019.95
4.3.100.0060.0039.95
4.3.90.0050.0029.95
4.3.80.0020.0059.95
4.3.70.0050.0019.95
4.3.60.0040.0049.95
4.3.50.0070.0009.95
4.3.40.0090.0019.95
4.3.30.0030.0059.95
4.3.20.0020.0049.95
4.3.10.0030.0039.95
4.3.00.0050.0009.95