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, "fr_FR.UTF-8"); echo money_format('%=#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.60.0100.01018.68
8.3.50.0110.00822.12
8.3.40.0150.00619.09
8.3.30.0140.00019.46
8.3.20.0070.00020.57
8.3.10.0080.00021.01
8.3.00.0030.00619.76
8.2.180.0140.00417.00
8.2.170.0180.00322.96
8.2.160.0090.00420.59
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0080.00022.66
8.2.110.0030.00721.37
8.2.100.0080.00418.41
8.2.90.0050.00319.55
8.2.80.0030.00618.13
8.2.70.0000.00917.75
8.2.60.0070.00018.18
8.2.50.0040.00418.07
8.2.40.0040.00418.56
8.2.30.0030.00519.78
8.2.20.0040.00418.09
8.2.10.0080.00018.42
8.2.00.0040.00418.15
8.1.280.0140.00725.92
8.1.270.0040.00424.20
8.1.260.0000.00726.35
8.1.250.0030.00528.09
8.1.240.0030.00621.68
8.1.230.0110.00019.86
8.1.220.0050.00318.16
8.1.210.0040.00818.77
8.1.200.0060.00317.73
8.1.190.0040.00417.50
8.1.180.0000.00818.10
8.1.170.0090.00018.87
8.1.160.0080.00022.24
8.1.150.0040.00419.07
8.1.140.0000.00817.64
8.1.130.0000.00818.14
8.1.120.0020.00517.69
8.1.110.0000.00717.80
8.1.100.0040.00417.70
8.1.90.0000.00817.69
8.1.80.0040.00417.77
8.1.70.0000.00717.66
8.1.60.0060.00317.89
8.1.50.0030.00617.84
8.1.40.0040.00417.82
8.1.30.0030.00518.05
8.1.20.0000.00818.00
8.1.10.0040.00417.87
8.1.00.0040.00417.64
8.0.300.0080.00018.77
8.0.290.0060.00317.25
8.0.280.0070.00018.68
8.0.270.0000.00817.62
8.0.260.0030.00317.55
8.0.250.0070.00017.43
8.0.240.0000.00717.35
8.0.230.0070.00017.42
8.0.220.0000.00717.24
8.0.210.0050.00217.16
8.0.200.0040.00417.37
8.0.190.0000.00717.38
8.0.180.0040.00417.32
8.0.170.0080.00017.19
8.0.160.0000.00817.27
8.0.150.0040.00417.21
8.0.140.0040.00417.09
8.0.130.0060.00613.71
8.0.120.0070.00017.29
8.0.110.0050.00317.32
8.0.100.0070.00017.35
8.0.90.0080.00017.29
8.0.80.0050.01017.27
8.0.70.0050.00217.16
8.0.60.0000.00717.29
8.0.50.0040.00417.29
8.0.30.0140.00817.52
8.0.20.0120.00717.49
8.0.10.0030.00417.27
8.0.00.0060.01417.33
7.4.330.0020.00215.00
7.4.320.0000.00616.93
7.4.300.0000.00616.82
7.4.290.0070.00017.03
7.4.280.0000.00716.92
7.4.270.0070.00016.93
7.4.260.0100.00016.72
7.4.250.0070.00016.90
7.4.240.0070.00017.01
7.4.230.0000.00717.05
7.4.220.0200.00617.02
7.4.210.0200.00617.01
7.4.200.0030.00316.99
7.4.160.0060.01016.91
7.4.150.0120.00617.40
7.4.140.0080.01217.86
7.4.130.0090.01116.95
7.4.120.0060.01216.96
7.4.110.0100.00717.04
7.4.100.0080.00817.13
7.4.90.0070.01016.94
7.4.80.0030.01419.39
7.4.70.0110.01216.98
7.4.60.0060.00916.88
7.4.50.0030.00616.91
7.4.40.0030.01416.96
7.4.30.0070.01016.82
7.4.00.0090.00614.82
7.3.330.0070.00013.48
7.3.320.0000.00613.46
7.3.310.0070.00016.65
7.3.300.0000.00716.51
7.3.290.0100.01016.56
7.3.280.0080.00816.63
7.3.270.0090.00917.40
7.3.260.0130.00716.86
7.3.250.0130.00716.82
7.3.240.0070.01016.83
7.3.230.0140.00316.52
7.3.210.0140.00316.60
7.3.200.0090.00919.39
7.3.190.0100.01016.77
7.3.180.0080.00816.63
7.3.170.0090.00617.07
7.3.160.0150.00716.70
7.2.330.0080.00817.18
7.2.320.0180.00317.03
7.2.310.0130.00416.67
7.2.300.0060.01016.78
7.2.290.0120.00416.87
7.1.100.0030.00918.22
7.1.70.0000.00817.02
7.1.60.0180.00419.61
7.1.50.0060.01316.60
7.1.00.0000.08022.36
7.0.200.0000.00916.71
7.0.140.0100.06321.96
7.0.60.0100.06019.86
7.0.50.0170.03717.78
7.0.40.0170.04720.24
7.0.30.0300.08020.17
7.0.20.0270.08020.09
7.0.10.0130.08020.02
7.0.00.0070.04320.20
5.6.280.0100.06320.91
5.6.210.0030.09020.46
5.6.200.0100.05018.10
5.6.190.0070.07720.77
5.6.180.0170.07020.50
5.6.170.0230.07720.38
5.6.160.0070.04320.33
5.6.150.0030.04018.21
5.6.140.0070.04318.14
5.6.130.0100.08318.16
5.6.120.0200.07721.02
5.6.110.0270.06320.96
5.6.100.0170.07721.01
5.6.90.0070.08320.96
5.6.80.0070.06020.53
5.5.350.0270.06320.40
5.5.340.0070.08017.92
5.5.330.0030.05320.40
5.5.320.0270.07020.13
5.5.310.0170.04020.17
5.5.300.0030.08017.98
5.5.290.0100.06017.89
5.5.280.0100.08020.77
5.5.270.0230.05720.84
5.5.260.0070.05320.73
5.5.250.0130.06020.59
5.5.240.4200.04020.12
5.4.450.0500.04319.11
5.4.440.0230.04719.43
5.4.430.0500.04719.54
5.4.420.0700.05019.41
5.4.410.0370.04019.45
5.4.400.0300.04019.14
5.4.390.0200.03718.78
5.4.380.0370.07718.66
5.4.370.0400.04018.61
5.4.360.0330.05318.57
5.4.350.0370.04718.69
5.4.340.0570.06718.63
5.4.320.0040.03712.49
5.4.310.0090.03412.49
5.4.300.0070.03512.50
5.4.290.0050.03812.49
5.4.280.0050.03712.39
5.4.270.0030.03912.39
5.4.260.0040.03912.39
5.4.250.0030.04012.39
5.4.240.0060.03512.39
5.4.230.0100.03212.38
5.4.220.0060.03812.38
5.4.210.0050.03712.38
5.4.200.0040.04212.38
5.4.190.0050.03612.38
5.4.180.0060.03512.38
5.4.170.0050.03912.39
5.4.160.0070.03512.39
5.4.150.0080.03412.38
5.4.140.0050.03812.07
5.4.130.0060.03512.05
5.4.120.0040.03712.01
5.4.110.0070.03612.01
5.4.100.0060.03412.01
5.4.90.0060.03612.00
5.4.80.0050.03712.01
5.4.70.0050.03512.00
5.4.60.0060.03412.00
5.4.50.0030.04112.00
5.4.40.0080.03211.99
5.4.30.0060.03611.99
5.4.20.0030.03711.98
5.4.10.0060.03411.98
5.4.00.0060.03511.48
5.3.290.0060.03912.80
5.3.280.0030.04112.71
5.3.270.0070.03812.72
5.3.260.0060.03912.72
5.3.250.0080.03512.72
5.3.240.0050.03712.72
5.3.230.0050.03812.71
5.3.220.0070.03512.68
5.3.210.0030.04112.68
5.3.200.0070.03612.68
5.3.190.0040.04112.68
5.3.180.0060.03712.68
5.3.170.0080.03412.67
5.3.160.0040.03912.67
5.3.150.0070.03612.68
5.3.140.0040.04212.66
5.3.130.0080.03712.66
5.3.120.0040.04012.66
5.3.110.0060.03812.66
5.3.100.0060.03612.11
5.3.90.0060.03512.10
5.3.80.0040.03812.09
5.3.70.0080.03412.10
5.3.60.0050.03712.08
5.3.50.0070.03412.03
5.3.40.0060.03712.03
5.3.30.0050.03611.98
5.3.20.0040.03811.77
5.3.10.0060.03511.73
5.3.00.0060.03711.72
5.2.170.0030.0359.22
5.2.160.0040.0319.22
5.2.150.0080.0339.22
5.2.140.0030.0349.21
5.2.130.0080.0359.18
5.2.120.0030.0319.18
5.2.110.0040.0309.19
5.2.100.0030.0309.18
5.2.90.0070.0279.18
5.2.80.0050.0309.17
5.2.70.0040.0359.17
5.2.60.0090.0289.13
5.2.50.0020.0329.09
5.2.40.0040.0299.07
5.2.30.0040.0349.05
5.2.20.0030.0349.04
5.2.10.0060.0308.96
5.2.00.0060.0398.82
5.1.60.0050.0288.11
5.1.50.0050.0268.10
5.1.40.0040.0288.08
5.1.30.0060.0278.43
5.1.20.0060.0258.45
5.1.10.0050.0258.18
5.1.00.0040.0258.18
5.0.50.0070.0176.65
5.0.40.0020.0216.52
5.0.30.0040.0316.33
5.0.20.0050.0196.32
5.0.10.0040.0206.30
5.0.00.0040.0336.29
4.4.90.0060.0124.78
4.4.80.0030.0154.76
4.4.70.0020.0164.76
4.4.60.0040.0144.75
4.4.50.0020.0204.77
4.4.40.0040.0294.70
4.4.30.0020.0164.76
4.4.20.0010.0174.85
4.4.10.0030.0154.85
4.4.00.0020.0264.76
4.3.110.0020.0174.67
4.3.100.0020.0164.66
4.3.90.0040.0134.64
4.3.80.0010.0294.59
4.3.70.0050.0174.63
4.3.60.0030.0144.63
4.3.50.0020.0174.63
4.3.40.0040.0234.54
4.3.30.0030.0153.35
4.3.20.0030.0153.33
4.3.10.0030.0163.33
4.3.00.0000.02016.72

preferences:
47.13 ms | 401 KiB | 5 Q