3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 'db' => array( 'name' => 'T50KCHF_0', 'filter' => array( 'columns' => array( 'SUPPLIER_NAME' => NULL, 'ORD' => NULL, 'REFER' => NULL, 'LIB' => NULL, 'COUNTRY' => NULL, 'PRC' => "concat(to_char(round(cast(### as number), 2), '990.00'),'%')", 'COM' => "to_char(to_number(###), '999G999G999', 'NLS_NUMERIC_CHARACTERS = '', ''')" ), 'where' => array( 'COUNTRY' => 'CH' ) ), 'graph_query' => "select country, to_char(to_number(sum(com)), '999G999G999', 'NLS_NUMERIC_CHARACTERS = '', ''') from t50kchf_0 group by country order by country;" ), 'dynamic' => TRUE, 'number' => 13, 'title' => "List of orders / contracts for supplies for a total value exceeding 50 000 CHF<br><small>placed in 2013</small>", 'subtitle' => FALSE, 'num_columns' => 7, 'headers' => array( array( 'from_db' => TRUE, 'layout' => NULL, 'data' => array( 'SUPPLIER_NAME' => "Supplier Name", 'ORD' => "Order/contract", 'REFER' => "Reference", 'LIB' => "Description", 'COUNTRY' => "Country", 'PRC' => "Percentage", 'COM' => "Commitment (CHF)" ) ) ), 'body' => array( 'layout' => array( 'SUPPLIER_NAME' => array(), 'ORD' => array( 'class' => "text-right" ), 'REFER' => array( 'class' => "text-right" ), 'LIB' => array(), 'COUNTRY' => array( 'class' => "text-center" ), 'PRC' => array( 'class' => "text-right", 'data-format' => 'percentage' ), 'COM' => array( 'class' => "text-right", 'data-format' => 'currency' ) ) ), 'footers' => array( array( 'from_db' => TRUE, 'exclude' => NULL, 'layout' => NULL, 'data' => array( 'SUPPLIER_NAME' => "Supplier Name", 'ORD' => "Order/contract", 'REFER' => "Reference", 'LIB' => "Description", 'COUNTRY' => "Country", 'PRC' => "Percentage", 'COM' => "Commitment" ) ) ) ); echo json_encode($arr);

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.0140.00716.38
8.3.50.0120.00822.83
8.3.40.0070.00718.58
8.3.30.0000.01419.05
8.3.20.0040.00420.30
8.3.10.0000.00823.66
8.3.00.0040.00419.26
8.2.180.0090.00618.41
8.2.170.0140.00722.96
8.2.160.0070.00720.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0120.00620.92
8.2.110.0080.00322.15
8.2.100.0060.00617.91
8.2.90.0000.01017.75
8.2.80.0050.00318.05
8.2.70.0040.00418.04
8.2.60.0000.00717.93
8.2.50.0030.00618.10
8.2.40.0000.01120.46
8.2.30.0040.00419.36
8.2.20.0000.00817.67
8.2.10.0050.00217.87
8.2.00.0000.00717.62
8.1.280.0040.01125.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.74
8.1.230.0040.00819.16
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.25
8.1.190.0000.00817.10
8.1.180.0050.00318.10
8.1.170.0040.00418.70
8.1.160.0070.00021.98
8.1.150.0000.00818.82
8.1.140.0050.00317.41
8.1.130.0000.00717.73
8.1.120.0030.00317.38
8.1.110.0050.00317.32
8.1.100.0040.00417.40
8.1.90.0000.00717.34
8.1.80.0000.00817.28
8.1.70.0040.00417.32
8.1.60.0080.00217.41
8.1.50.0080.00017.43
8.1.40.0030.00617.47
8.1.30.0000.01017.47
8.1.20.0000.00717.47
8.1.10.0000.00817.50
8.1.00.0080.00017.49
8.0.300.0000.00719.60
8.0.290.0040.00416.75
8.0.280.0030.00318.34
8.0.270.0040.00416.75
8.0.260.0030.00317.31
8.0.250.0000.00716.91
8.0.240.0050.00316.96
8.0.230.0030.00316.84
8.0.220.0020.00516.71
8.0.210.0050.00216.67
8.0.200.0000.00716.90
8.0.190.0000.00816.86
8.0.180.0000.00716.86
8.0.170.0030.00516.74
8.0.160.0000.00716.70
8.0.150.0030.00316.77
8.0.140.0070.00016.78
8.0.130.0030.00313.24
8.0.120.0070.00016.66
8.0.110.0040.00416.83
8.0.100.0000.00716.71
8.0.90.0040.00416.87
8.0.80.0030.01316.82
8.0.70.0060.00316.84
8.0.60.0040.00416.68
8.0.50.0000.00716.71
8.0.30.0100.01017.17
8.0.20.0100.01017.40
8.0.10.0040.00416.87
8.0.00.0080.01016.53
7.4.330.0030.00315.00
7.4.320.0000.00616.53
7.4.300.0030.00316.43
7.4.290.0030.00316.36
7.4.280.0040.00416.51
7.4.270.0030.00516.37
7.4.260.0000.00513.20
7.4.250.0040.00416.39
7.4.240.0020.00716.49
7.4.230.0070.00016.53
7.4.220.0130.00616.50
7.4.210.0030.01016.55
7.4.200.0070.00016.26
7.4.160.0120.00316.41
7.4.150.0120.00617.40
7.4.140.0120.00517.86
7.4.130.0060.01116.52
7.4.120.0040.01416.42
7.4.110.0100.00716.46
7.4.100.0030.01416.57
7.4.90.0100.00716.41
7.4.80.0070.01119.39
7.4.70.0100.00616.46
7.4.60.0140.00316.38
7.4.50.0040.00416.14
7.4.40.0040.01316.30
7.4.30.0120.00416.67
7.4.00.0070.00714.73
7.3.330.0020.00213.06
7.3.320.0020.00212.98
7.3.310.0020.00516.20
7.3.300.0000.00716.04
7.3.290.0090.00616.14
7.3.280.0070.00916.12
7.3.270.0150.00317.40
7.3.260.0120.00616.39
7.3.250.0120.00816.12
7.3.240.0030.01316.30
7.3.230.0130.00316.39
7.3.210.0130.00716.43
7.3.200.0090.00919.39
7.3.190.0130.00316.10
7.3.180.0040.01516.29
7.3.170.0060.01516.47
7.3.160.0030.01316.17
7.3.10.0060.00315.75
7.3.00.0110.00416.54
7.2.330.0080.00816.51
7.2.320.0090.01016.43
7.2.310.0100.00716.56
7.2.300.0160.00416.50
7.2.290.0030.01416.25
7.2.130.0030.00716.37
7.2.120.0170.00315.95
7.2.110.0160.00316.49
7.2.100.0030.00916.84
7.2.90.0080.01216.50
7.2.80.0070.00816.66
7.2.70.0200.00416.74
7.2.60.0090.00616.63
7.2.50.0060.01216.68
7.2.40.0150.00316.73
7.2.30.0040.01117.00
7.2.20.0110.00716.83
7.2.10.0080.00416.82
7.2.00.0080.00616.51
7.1.250.0060.00315.47
7.1.200.0060.00815.70
7.1.70.0000.00817.18
7.1.60.0100.01019.46
7.1.50.0130.01016.55
7.1.00.0030.04322.32
7.0.200.0000.00816.74
7.0.140.0100.06722.00
7.0.110.0500.08019.95
7.0.100.0700.07720.00
7.0.90.0530.08719.97
7.0.80.0530.04719.93
7.0.70.0570.08320.06
7.0.60.0600.08720.00
7.0.50.0500.07720.30
7.0.40.0070.08020.23
7.0.30.0200.07020.13
7.0.20.0130.07320.18
7.0.10.0200.03720.18
7.0.00.0030.08020.27
5.6.250.0100.07720.90
5.6.240.0000.08720.87
5.6.230.0070.08320.69
5.6.220.0170.07320.70
5.6.210.0100.04720.40
5.6.200.0170.06721.08
5.6.190.0230.03721.15
5.6.180.0030.08021.09
5.6.170.0070.06720.98
5.6.160.0100.05020.91
5.6.150.0070.07021.26
5.6.140.0100.08020.96
5.6.130.0130.08021.28
5.6.120.0070.09021.10
5.6.110.0130.07320.97
5.6.100.0170.07720.91
5.6.90.0100.08021.10
5.6.80.0070.08320.58
5.6.70.0130.07320.52
5.6.60.0130.04720.31
5.6.50.0100.08020.54
5.6.40.0000.07720.55
5.6.30.0030.08020.51
5.6.20.0030.07720.45
5.6.10.0130.04020.50
5.6.00.0100.07320.29
5.5.380.0070.05020.57
5.5.370.0070.07720.52
5.5.360.0100.07720.47
5.5.350.0170.07320.50
5.5.340.0030.05320.95
5.5.330.0100.08020.85
5.5.320.0130.05020.82
5.5.310.0030.08720.79
5.5.300.0100.07720.90
5.5.290.0000.08720.85
5.5.280.0070.07320.90
5.5.270.0100.05320.88
5.5.260.0070.07720.90
5.5.250.0130.08020.66
5.5.240.0130.07320.26
5.5.230.0100.08020.18
5.5.220.0070.07720.34
5.5.210.0030.08720.20
5.5.200.0070.08020.26
5.5.190.0100.07720.31
5.5.180.0100.03720.27
5.5.160.0130.07020.31
5.5.150.0200.06720.26
5.5.140.0070.08020.32
5.5.130.0100.08020.09
5.5.120.0070.07720.24
5.5.110.0070.06320.16
5.5.100.0100.05020.18
5.5.90.0070.04720.21
5.5.80.0070.03720.11
5.5.70.0100.03320.20
5.5.60.0030.04320.01
5.5.50.0100.03720.01
5.5.40.0000.06319.99
5.5.30.0030.03720.23
5.5.20.0070.03720.09
5.5.10.0070.05020.05
5.5.00.0030.04020.20
5.4.450.0000.08019.32
5.4.440.0030.05019.33
5.4.430.0070.07019.34
5.4.420.0130.06719.27
5.4.410.0030.08719.39
5.4.400.0070.06719.13
5.4.390.0070.07319.00
5.4.380.0030.04719.11
5.4.370.0130.07319.12
5.4.360.0130.07019.12
5.4.350.0070.07718.98
5.4.340.0030.08019.25
5.4.320.0200.03019.01
5.4.310.0100.07318.96
5.4.300.0070.07718.95
5.4.290.0070.07318.95
5.4.280.0100.07319.18
5.4.270.0070.04319.27
5.4.260.0070.03719.25
5.4.250.0000.04019.11
5.4.240.0000.04019.09
5.4.230.0030.03718.97
5.4.220.0030.03719.26
5.4.210.0130.02719.11
5.4.200.0000.04019.24
5.4.190.0100.03319.15
5.4.180.0030.03719.14
5.4.170.0030.04719.23
5.4.160.0000.04019.09
5.4.150.0000.04019.23
5.4.140.0030.05016.39
5.4.130.0000.04716.38
5.4.120.0070.03016.30
5.4.110.0100.03016.42
5.4.100.0100.02716.51
5.4.90.0030.06316.30
5.4.80.0070.03016.23
5.4.70.0000.03716.29
5.4.60.0030.03316.38
5.4.50.0000.03716.46
5.4.40.0030.03716.31
5.4.30.0000.04016.45
5.4.20.0030.03716.47
5.4.10.0030.06716.36
5.4.00.0030.03715.68
5.3.290.0070.07314.50
5.3.280.0070.03314.48
5.3.270.0030.03714.55
5.3.260.0070.03314.48
5.3.250.0100.02714.69
5.3.240.0100.06714.65
5.3.230.0030.03714.68
5.3.220.0000.04714.59
5.3.210.0000.04014.48
5.3.200.0030.03714.65
5.3.190.0000.04014.52
5.3.180.0030.03714.59
5.3.170.0030.03714.41
5.3.160.0030.03314.59
5.3.150.0070.03314.41
5.3.140.0130.02714.52
5.3.130.0030.03714.47
5.3.120.0100.04314.49
5.3.110.0030.03714.55
5.3.100.0000.04313.98
5.3.90.0030.03714.14
5.3.80.0070.03313.98
5.3.70.0030.04013.90
5.3.60.0070.03313.85
5.3.50.0030.03714.02
5.3.40.0030.06313.89
5.3.30.0100.03314.00
5.3.20.0030.04013.56
5.3.10.0070.03313.77
5.3.00.0000.03713.75
5.2.170.0070.02711.09
5.2.160.0070.02711.32
5.2.150.0070.02711.18
5.2.140.0030.03011.05
5.2.130.0000.03311.18
5.2.120.0000.03011.19
5.2.110.0030.02711.03
5.2.100.0070.03711.07
5.2.90.0030.02711.09
5.2.80.0100.02310.92
5.2.70.0030.02711.06
5.2.60.0030.02711.01
5.2.50.0070.02711.04
5.2.40.0030.03010.92
5.2.30.0030.03310.79
5.2.20.0030.02710.77
5.2.10.0070.05310.88
5.2.00.0000.06710.88
5.1.60.0030.0509.97
5.1.50.0030.0509.94
5.1.40.0070.05010.00
5.1.30.0070.03710.45
5.1.20.0070.05310.45
5.1.10.0030.05710.00
5.1.00.0070.05710.05
5.0.50.0000.0308.63
5.0.40.0070.0438.43
5.0.30.0000.0708.43
5.0.20.0070.0378.43
5.0.10.0030.0378.43
5.0.00.0000.0678.43
4.4.90.0000.0178.43
4.4.80.0070.0138.43
4.4.70.0000.0378.43
4.4.60.0000.0378.43
4.4.50.0070.0338.43
4.4.40.0030.0478.43
4.4.30.0030.0308.43
4.4.20.0000.0378.43
4.4.10.0030.0178.43
4.4.00.0030.0478.43
4.3.110.0070.0138.43
4.3.100.0000.0338.43
4.3.90.0000.0408.43
4.3.80.0070.0508.43
4.3.70.0030.0338.43
4.3.60.0030.0338.43
4.3.50.0000.0338.43
4.3.40.0030.0478.43
4.3.30.0000.0378.43
4.3.20.0030.0238.43
4.3.10.0070.0338.43
4.3.00.0000.0338.43

preferences:
46.31 ms | 401 KiB | 5 Q