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.0170.00318.68
8.3.50.0100.00822.18
8.3.40.0070.00719.03
8.3.30.0070.00719.46
8.3.20.0000.00820.59
8.3.10.0050.00321.02
8.3.00.0000.00819.63
8.2.180.0180.00316.88
8.2.170.0140.00722.96
8.2.160.0100.00320.95
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00822.60
8.2.110.0000.00920.72
8.2.100.0070.00718.16
8.2.90.0060.00619.50
8.2.80.0030.00617.99
8.2.70.0040.00417.88
8.2.60.0000.00818.18
8.2.50.0000.00818.10
8.2.40.0040.00418.44
8.2.30.0040.00419.94
8.2.20.0000.00817.92
8.2.10.0000.00818.39
8.2.00.0000.00818.11
8.1.280.0070.01025.92
8.1.270.0080.00024.20
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00824.09
8.1.230.0070.00422.53
8.1.220.0000.00818.03
8.1.210.0030.00718.77
8.1.200.0060.00317.63
8.1.190.0040.00417.60
8.1.180.0000.00818.10
8.1.170.0000.00818.86
8.1.160.0000.00722.20
8.1.150.0030.00519.20
8.1.140.0000.00717.76
8.1.130.0040.00418.25
8.1.120.0040.00417.68
8.1.110.0080.00017.66
8.1.100.0000.00717.79
8.1.90.0050.00217.65
8.1.80.0040.00417.59
8.1.70.0050.00317.70
8.1.60.0060.00317.81
8.1.50.0000.00917.91
8.1.40.0060.00317.79
8.1.30.0030.00518.08
8.1.20.0040.00418.01
8.1.10.0040.00418.00
8.1.00.0050.00317.79
8.0.300.0100.00018.77
8.0.290.0000.00817.00
8.0.280.0030.00318.80
8.0.270.0000.00717.68
8.0.260.0000.00617.63
8.0.250.0050.00317.32
8.0.240.0030.00317.24
8.0.230.0040.00417.33
8.0.220.0080.00017.34
8.0.210.0030.00316.99
8.0.200.0030.00317.39
8.0.190.0030.00317.37
8.0.180.0070.00017.33
8.0.170.0040.00417.32
8.0.160.0040.00417.29
8.0.150.0040.00417.25
8.0.140.0000.00717.21
8.0.130.0030.00313.67
8.0.120.0040.00417.32
8.0.110.0000.00717.14
8.0.100.0000.00717.23
8.0.90.0000.00717.38
8.0.80.0060.00917.21
8.0.70.0000.00717.19
8.0.60.0000.00817.16
8.0.50.0090.00017.31
8.0.30.0090.01017.32
8.0.20.0150.00517.46
8.0.10.0000.00817.44
8.0.00.0070.01117.11
7.4.330.0000.00515.00
7.4.320.0030.00316.88
7.4.300.0030.00316.77
7.4.290.0000.00816.97
7.4.280.0000.00816.84
7.4.270.0000.00716.88
7.4.260.0030.00316.80
7.4.250.0040.00416.92
7.4.240.0050.00316.93
7.4.230.0000.00717.13
7.4.220.0190.00716.95
7.4.210.0100.00316.90
7.4.200.0000.00716.71
7.4.160.0130.00316.75
7.4.150.0100.01017.40
7.4.140.0140.00517.86
7.4.130.0120.00517.05
7.4.120.0070.01016.82
7.4.110.0090.00916.93
7.4.100.0120.00616.84
7.4.90.0110.00616.85
7.4.80.0060.01219.39
7.4.70.0150.00716.94
7.4.60.0120.01216.93
7.4.50.0000.00517.11
7.4.40.0110.01116.97
7.4.30.0150.00416.93
7.4.00.0120.00614.92
7.3.330.0000.00613.42
7.3.320.0060.00013.56
7.3.310.0000.00716.42
7.3.300.0070.00016.60
7.3.290.0130.00316.57
7.3.280.0100.00616.63
7.3.270.0120.00917.40
7.3.260.0130.01016.93
7.3.250.0100.00716.68
7.3.240.0080.00816.96
7.3.230.0130.00316.77
7.3.210.0140.00716.98
7.3.200.0070.01119.39
7.3.190.0070.01316.68
7.3.180.0160.00316.72
7.3.170.0030.01216.96
7.3.160.0060.01016.88
7.3.10.0090.00316.31
7.3.00.0120.00816.50
7.2.330.0060.01116.86
7.2.320.0090.00917.09
7.2.310.0110.00716.98
7.2.300.0100.00716.88
7.2.290.0040.01217.16
7.2.130.0100.00916.36
7.2.120.0160.00716.63
7.2.110.0140.00716.34
7.2.100.0090.00916.74
7.2.90.0160.00816.67
7.2.80.0200.00816.56
7.2.70.0200.00416.30
7.2.60.0130.00516.79
7.2.50.0130.00316.68
7.2.40.0090.01216.73
7.2.30.0140.00516.82
7.2.20.0130.01016.35
7.2.10.0130.00616.32
7.2.00.0130.00416.75
7.1.250.0120.00315.26
7.1.100.0030.01018.21
7.1.70.0040.00416.96
7.1.60.0200.00319.61
7.1.50.0110.00816.77
7.1.00.0030.07722.45
7.0.200.0000.01016.43
7.0.140.0000.07021.92
7.0.60.0100.03319.97
7.0.50.0070.05717.75
7.0.40.0070.08720.21
7.0.30.0430.07720.20
7.0.20.0270.05720.07
7.0.10.0200.04720.17
7.0.00.0030.04020.07
5.6.280.0030.07321.07
5.6.210.0130.05020.61
5.6.200.0100.08318.15
5.6.190.0070.04020.48
5.6.180.0030.05320.64
5.6.170.0270.07720.53
5.6.160.0100.08320.71
5.6.150.0000.05018.18
5.6.140.0000.04718.21
5.6.130.0170.05018.34
5.6.120.0070.04321.12
5.6.110.0100.08321.00
5.6.100.0030.06020.97
5.6.90.0100.05720.99
5.6.80.0100.07020.38
5.6.70.0170.07720.38
5.5.350.0030.07320.32
5.5.340.0070.05718.07
5.5.330.0000.04320.57
5.5.320.0370.03020.26
5.5.310.0200.03720.34
5.5.300.0070.08017.96
5.5.290.0000.05017.94
5.5.280.0070.04720.80
5.5.270.0100.06720.96
5.5.260.0170.08320.76
5.5.250.0000.04720.46
5.5.240.0100.06020.18
5.4.450.0170.07019.55
5.4.440.0930.07019.61
5.4.430.0730.05319.47
5.4.420.0930.05319.55
5.4.410.0670.06319.25
5.4.400.0100.05318.98
5.4.390.0730.07319.26
5.4.380.0400.05718.72
5.4.370.0170.07018.44
5.4.360.0270.06018.59
5.4.350.0170.07018.52
5.4.340.0330.05718.68
5.4.320.0080.03412.52
5.4.310.0040.03912.52
5.4.300.0060.03512.52
5.4.290.0050.03812.52
5.4.280.0070.03512.41
5.4.270.0080.03512.41
5.4.260.0070.03612.41
5.4.250.0050.03712.41
5.4.240.0090.03212.41
5.4.230.0070.04612.40
5.4.220.0050.03512.41
5.4.210.0030.03712.41
5.4.200.0060.03712.41
5.4.190.0040.03812.40
5.4.180.0040.03712.40
5.4.170.0080.03412.41
5.4.160.0060.03812.41
5.4.150.0100.03412.41
5.4.140.0080.03812.09
5.4.130.0030.03812.07
5.4.120.0050.03912.04
5.4.110.0070.03512.03
5.4.100.0110.03512.03
5.4.90.0060.03912.03
5.4.80.0040.03712.03
5.4.70.0080.03112.02
5.4.60.0050.03412.03
5.4.50.0040.03612.02
5.4.40.0050.03512.01
5.4.30.0060.03912.01
5.4.20.0060.03412.01
5.4.10.0070.03312.01
5.4.00.0040.03611.50
5.3.290.0070.04812.80
5.3.280.0100.03412.71
5.3.270.0060.04512.72
5.3.260.0040.03912.72
5.3.250.0080.04012.71
5.3.240.0070.03812.72
5.3.230.0070.03512.71
5.3.220.0050.03712.68
5.3.210.0030.04112.68
5.3.200.0060.03512.68
5.3.190.0050.03712.68
5.3.180.0070.03612.68
5.3.170.0060.03512.67
5.3.160.0080.04012.67
5.3.150.0070.04712.68
5.3.140.0060.03412.66
5.3.130.0040.04112.66
5.3.120.0070.03912.66
5.3.110.0100.03612.66
5.3.100.0050.03712.14
5.3.90.0090.03212.12
5.3.80.0070.03312.12
5.3.70.0060.03612.12
5.3.60.0060.04012.10
5.3.50.0050.03812.05
5.3.40.0080.03812.05
5.3.30.0080.03412.01
5.3.20.0050.03611.79
5.3.10.0080.03211.75
5.3.00.0050.03611.74
5.2.170.0070.0289.25
5.2.160.0050.0289.25
5.2.150.0060.0289.25
5.2.140.0030.0329.23
5.2.130.0040.0329.20
5.2.120.0090.0239.20
5.2.110.0060.0279.21
5.2.100.0040.0289.20
5.2.90.0050.0289.20
5.2.80.0050.0299.20
5.2.70.0070.0279.20
5.2.60.0050.0289.15
5.2.50.0090.0329.12
5.2.40.0040.0299.10
5.2.30.0080.0279.07
5.2.20.0070.0339.06
5.2.10.0040.0288.98
5.2.00.0060.0268.84
5.1.60.0060.0218.13
5.1.50.0040.0318.13
5.1.40.0050.0228.10
5.1.30.0060.0248.45
5.1.20.0010.0298.47
5.1.10.0030.0278.20
5.1.00.0080.0238.21
5.0.50.0020.0226.68
5.0.40.0040.0186.54
5.0.30.0040.0306.36
5.0.20.0040.0196.34
5.0.10.0040.0196.32
5.0.00.0030.0346.31
4.4.90.0040.0154.78
4.4.80.0020.0164.76
4.4.70.0040.0154.75
4.4.60.0040.0184.75
4.4.50.0020.0224.77
4.4.40.0060.0274.71
4.4.30.0030.0144.76
4.4.20.0040.0154.84
4.4.10.0030.0174.85
4.4.00.0040.0264.76
4.3.110.0030.0154.67
4.3.100.0020.0154.67
4.3.90.0040.0144.64
4.3.80.0030.0234.61
4.3.70.0030.0134.63
4.3.60.0040.0174.63
4.3.50.0040.0184.63
4.3.40.0030.0234.55
4.3.30.0020.0163.37
4.3.20.0010.0173.34
4.3.10.0020.0153.30
4.3.00.0070.0207.38

preferences:
40.01 ms | 401 KiB | 5 Q