3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = array( 'decimal_point' => '.', 'thousands_sep' => '', 'int_curr_symbol' => 'EUR', 'currency_symbol' => '€', 'mon_decimal_point' => ',', 'mon_thousands_sep' => '.', 'positive_sign' => '', 'negative_sign' => '-', 'int_frac_digits' => 2, 'frac_digits' => 2, 'p_cs_precedes' => 0, 'p_sep_by_space' => 1, 'p_sign_posn' => 1, 'n_sign_posn' => 1, 'grouping' => array(), 'mon_grouping' => array(0 => 3, 1 => 3) ); setlocale(LC_MONETARY, "es_ES.UTF-8"); echo money_format('%=-14#8.2i', 1234.563665) . "\n";

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.40.0070.00719.26
8.3.30.0100.00319.46
8.3.20.0040.00420.72
8.3.10.0080.00021.04
8.3.00.0080.00019.63
8.2.170.0180.00422.96
8.2.160.0100.00320.90
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.61
8.2.110.0100.00021.41
8.2.100.0160.00617.91
8.2.90.0060.00319.42
8.2.80.0110.00017.97
8.2.70.0090.00017.88
8.2.60.0060.00218.17
8.2.50.0060.00318.10
8.2.40.0070.00318.56
8.2.30.0000.00819.80
8.2.20.0040.00418.07
8.2.10.0030.00618.29
8.2.00.0050.00318.03
8.1.270.0030.00624.34
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.12
8.1.230.0080.00318.14
8.1.220.0040.00418.03
8.1.210.0000.00818.77
8.1.200.0040.00417.60
8.1.190.0030.00717.60
8.1.180.0060.00318.10
8.1.170.0050.00318.91
8.1.160.0040.00422.31
8.1.150.0070.00019.18
8.1.140.0040.00417.68
8.1.130.0020.00518.12
8.1.120.0080.00017.70
8.1.110.0040.00417.75
8.1.100.0070.00017.67
8.1.90.0000.00717.71
8.1.80.0030.00517.64
8.1.70.0030.00317.77
8.1.60.0030.00517.93
8.1.50.0030.00517.96
8.1.40.0000.00817.95
8.1.30.0030.00518.01
8.1.20.0080.00017.88
8.1.10.0040.00418.04
8.1.00.0000.00817.83
8.0.300.0000.00818.77
8.0.290.0090.00017.13
8.0.280.0000.00718.77
8.0.270.0000.00717.50
8.0.260.0030.00317.67
8.0.250.0080.00017.50
8.0.240.0040.00417.34
8.0.230.0000.00717.44
8.0.220.0040.00317.28
8.0.210.0060.00317.23
8.0.200.0030.00317.39
8.0.190.0040.00417.47
8.0.180.0050.00317.28
8.0.170.0000.00817.39
8.0.160.0040.00417.34
8.0.150.0000.00717.26
8.0.140.0050.00317.29
8.0.130.0030.00313.74
8.0.120.0030.00517.31
8.0.110.0000.00717.22
8.0.100.0050.00217.17
8.0.90.0000.00817.16
8.0.80.0030.01317.22
8.0.70.0000.00717.39
8.0.60.0050.00317.22
8.0.50.0080.00017.32
8.0.30.0150.00417.50
8.0.20.0100.00917.57
8.0.10.0000.00717.30
8.0.00.0070.01217.21
7.4.330.0030.00315.00
7.4.320.0070.00017.07
7.4.300.0030.00317.00
7.4.290.0040.00416.79
7.4.280.0050.00216.93
7.4.270.0000.00717.04
7.4.260.0030.00716.82
7.4.250.0040.00416.95
7.4.240.0040.00316.99
7.4.230.0060.00017.04
7.4.220.0070.01116.77
7.4.210.0070.00717.04
7.4.200.0030.00316.80
7.4.160.0040.01116.89
7.4.150.0070.01117.40
7.4.140.0090.00917.86
7.4.130.0130.00316.97
7.4.120.0090.00916.85
7.4.110.0070.01617.09
7.4.100.0120.00617.03
7.4.90.0100.00716.91
7.4.80.0070.01019.39
7.4.70.0060.01616.77
7.4.60.0060.01316.83
7.4.50.0060.00316.88
7.4.40.0100.00616.78
7.4.30.0090.00916.79
7.4.00.0090.00614.79
7.3.330.0000.00713.44
7.3.320.0000.00513.59
7.3.310.0000.00716.56
7.3.300.0030.00316.46
7.3.290.0080.00916.65
7.3.280.0030.01216.61
7.3.270.0060.01917.40
7.3.260.0130.01216.59
7.3.250.0110.00816.83
7.3.240.0100.00716.64
7.3.230.0120.00616.79
7.3.210.0100.01016.95
7.3.200.0070.01019.39
7.3.190.0100.01316.66
7.3.180.0100.00616.88
7.3.170.0030.01216.70
7.3.160.0110.01116.89
7.2.330.0130.00317.11
7.2.320.0060.01217.09
7.2.310.0130.00617.03
7.2.300.0090.00616.69
7.2.290.0140.00716.84
7.1.100.0040.00717.91
7.1.70.0040.00416.63
7.1.60.0100.01419.61
7.1.50.0160.01316.97
7.1.00.0030.07722.54
7.0.200.0160.00316.57
7.0.140.0100.07022.15
7.0.110.0100.04020.00
7.0.100.0070.04319.96
7.0.90.0000.04320.04
7.0.80.0030.04020.05
7.0.70.0000.04319.84
7.0.60.0030.04320.03
7.0.50.0070.03719.88
7.0.40.0100.06719.88
7.0.30.0000.04319.75
7.0.20.0070.04719.64
7.0.10.0070.07019.88
7.0.00.0000.06319.77
5.6.280.0100.06720.91
5.6.260.0030.04020.66
5.6.250.0100.05320.68
5.6.240.0030.04020.70
5.6.230.0130.03720.69
5.6.220.0070.03720.68
5.6.210.0030.08020.58
5.6.200.0070.04020.70
5.6.190.0030.04020.46
5.6.180.0030.04020.52
5.6.170.0030.04020.46
5.6.160.0030.04020.55
5.6.150.0070.04320.55
5.6.140.0030.04720.55
5.6.130.0000.04320.62
5.6.120.0100.07020.70
5.6.110.0030.03720.63
5.6.100.0100.07320.68
5.6.90.0070.07320.44
5.6.80.0030.04320.04
5.6.70.0030.08720.07
5.6.60.0030.04019.95
5.6.50.0000.07720.23
5.6.40.0030.07020.04
5.6.30.0100.07019.97
5.6.20.0100.08719.91
5.6.10.0030.08019.94
5.6.00.0030.08319.82
5.5.380.0170.06717.59
5.5.370.0070.05317.56
5.5.360.0030.03717.69
5.5.350.0030.04317.46
5.5.340.0000.04018.03
5.5.330.0030.03718.26
5.5.320.0000.04318.26
5.5.310.0030.03718.03
5.5.300.0070.04717.99
5.5.290.0100.03318.25
5.5.280.0030.04317.95
5.5.270.0100.03318.09
5.5.260.0030.05317.91
5.5.250.0030.06717.80
5.5.240.0070.08017.30
5.5.230.0070.07717.29
5.5.220.0030.08017.60
5.5.210.0170.06317.21
5.5.200.0070.07317.48
5.5.190.0100.04017.47
5.5.180.0000.07717.46
5.5.160.0100.05017.57
5.5.150.0100.07317.34
5.5.140.0030.07717.58
5.5.130.0100.09717.33
5.5.120.0100.03717.47
5.5.110.0070.04317.28
5.5.100.0000.05717.21
5.5.90.0070.07017.18
5.5.80.0070.06717.35
5.5.70.0070.07717.34
5.5.60.0130.06717.17
5.5.50.0170.07017.20
5.5.40.0070.07017.23
5.5.30.0100.06717.31
5.5.20.0070.07717.17
5.5.10.0070.07717.37
5.5.00.0030.05017.33
5.4.450.0030.04719.35
5.4.440.0100.05319.51
5.4.430.0070.05319.31
5.4.420.0070.09319.32
5.4.410.0070.06019.21
5.4.400.0030.06319.19
5.4.390.0070.07319.01
5.4.380.0100.05318.93
5.4.370.0130.06319.34
5.4.360.0070.05719.15
5.4.350.0070.06319.18
5.4.340.0000.08319.18
5.4.320.0130.07319.04
5.4.310.0130.04719.18
5.4.300.0030.08019.14
5.4.290.0070.07019.00
5.4.280.0030.08018.93
5.4.270.0100.07318.95
5.4.260.0070.06719.14
5.4.250.0030.05719.18
5.4.240.0000.04318.92
5.4.230.0130.06319.18
5.4.220.0070.07719.14
5.4.210.0130.06319.31
5.4.200.0100.07319.00
5.4.190.0130.07019.01
5.4.180.0100.07019.17
5.4.170.0030.08019.21
5.4.160.0100.07319.14
5.4.150.0070.07719.16
5.4.140.0030.07316.59
5.4.130.0030.07016.39
5.4.120.0030.07716.57
5.4.110.0100.07316.41
5.4.100.0130.07016.61
5.4.90.0100.06316.43
5.4.80.0070.07316.46
5.4.70.0100.07316.48
5.4.60.0000.07716.62
5.4.50.0100.07316.34
5.4.40.0030.07316.34
5.4.30.0130.06016.60
5.4.20.0100.06716.53
5.4.10.0070.07716.53
5.4.00.0100.07015.88
5.3.290.0070.06714.63
5.3.280.0100.04314.59
5.3.270.0030.07714.73
5.3.260.0070.07014.55
5.3.250.0000.07714.60
5.3.240.0030.07314.74
5.3.230.0070.04314.59
5.3.220.0030.08014.55
5.3.210.0170.06714.51
5.3.200.0000.07714.79
5.3.190.0100.04014.54
5.3.180.0070.07714.41
5.3.170.0000.07714.53
5.3.160.0000.08014.57
5.3.150.0030.07314.57
5.3.140.0030.07714.58
5.3.130.0030.08314.68
5.3.120.0070.04014.40
5.3.110.0070.06714.68
5.3.100.0100.07014.27
5.3.90.0030.07314.25
5.3.80.0100.06314.15
5.3.70.0070.07314.09
5.3.60.0000.04714.14
5.3.50.0100.07014.04
5.3.40.0030.07713.90
5.3.30.0070.07013.86
5.3.20.0070.07013.68
5.3.10.0030.04713.88
5.3.00.0070.06713.48
5.2.170.0070.05011.27
5.2.160.0000.06311.10
5.2.150.0000.06311.27
5.2.140.0030.06711.16
5.2.130.0070.05311.00
5.2.120.0030.06011.06
5.2.110.0000.06011.13
5.2.100.0030.05311.06
5.2.90.0100.04011.23
5.2.80.0030.06011.05
5.2.70.0030.05311.06
5.2.60.0030.04711.03
5.2.50.0100.05710.88
5.2.40.0070.05710.98
5.2.30.0100.05311.09
5.2.20.0070.06010.93
5.2.10.0100.05310.76
5.2.00.0030.06310.62
5.1.60.0030.0539.93
5.1.50.0030.0339.98
5.1.40.0030.05310.11
5.1.30.0030.06010.34
5.1.20.0030.05710.47
5.1.10.0100.05010.05
5.1.00.0030.05310.14
5.0.50.0070.0439.93
5.0.40.0030.0339.93
5.0.30.0030.0679.93
5.0.20.0100.0379.93
5.0.10.0030.0479.93
5.0.00.0000.0709.93
4.4.90.0000.0209.93
4.4.80.0000.0379.93
4.4.70.0000.0379.93
4.4.60.0000.0379.93
4.4.50.0000.0309.93
4.4.40.0030.0539.93
4.4.30.0030.0339.93
4.4.20.0030.0339.93
4.4.10.0030.0339.93
4.4.00.0070.0509.93
4.3.110.0000.0379.93
4.3.100.0000.0339.93
4.3.90.0000.0339.93
4.3.80.0070.0479.93
4.3.70.0070.0309.93
4.3.60.0000.0339.93
4.3.50.0000.0339.93
4.3.40.0070.0439.93
4.3.30.0000.0409.93
4.3.20.0030.0309.93
4.3.10.0000.0409.93
4.3.00.0000.0379.93

preferences:
41.74 ms | 400 KiB | 5 Q