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((object) $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.0100.01016.63
8.3.50.0110.00722.81
8.3.40.0040.01118.71
8.3.30.0070.00718.96
8.3.20.0080.00020.09
8.3.10.0090.00023.65
8.3.00.0000.00819.38
8.2.180.0060.00918.18
8.2.170.0100.01022.96
8.2.160.0150.00620.44
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00320.76
8.2.110.0060.00321.12
8.2.100.0060.00617.91
8.2.90.0100.00017.63
8.2.80.0050.00317.97
8.2.70.0000.00818.04
8.2.60.0030.00517.92
8.2.50.0040.00418.10
8.2.40.0080.00020.30
8.2.30.0040.00419.50
8.2.20.0040.00417.68
8.2.10.0050.00317.95
8.2.00.0000.00717.54
8.1.280.0100.00725.92
8.1.270.0040.00423.88
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0070.00321.28
8.1.230.0030.00919.08
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0050.00316.99
8.1.180.0030.00518.10
8.1.170.0070.00318.52
8.1.160.0040.00421.85
8.1.150.0000.00718.77
8.1.140.0070.00017.38
8.1.130.0070.00017.81
8.1.120.0070.00017.41
8.1.110.0000.00817.26
8.1.100.0040.00417.38
8.1.90.0000.00717.22
8.1.80.0040.00417.34
8.1.70.0030.00317.45
8.1.60.0070.00417.58
8.1.50.0030.00517.58
8.1.40.0040.00417.51
8.1.30.0040.00417.60
8.1.20.0040.00417.58
8.1.10.0030.00617.49
8.1.00.0040.00417.32
8.0.300.0040.00419.66
8.0.290.0050.00316.63
8.0.280.0000.00718.31
8.0.270.0000.00717.25
8.0.260.0000.00717.21
8.0.250.0030.00316.93
8.0.240.0080.00016.86
8.0.230.0070.00016.77
8.0.220.0000.00716.78
8.0.210.0030.00316.85
8.0.200.0040.00416.75
8.0.190.0000.00716.88
8.0.180.0000.00716.87
8.0.170.0040.00416.75
8.0.160.0000.00816.70
8.0.150.0030.00316.82
8.0.140.0050.00216.66
8.0.130.0040.00413.25
8.0.120.0030.00616.79
8.0.110.0080.00016.82
8.0.100.0080.00016.71
8.0.90.0000.00716.89
8.0.80.0060.00916.84
8.0.70.0000.00716.89
8.0.60.0030.00516.87
8.0.50.0040.00416.70
8.0.30.0120.01016.96
8.0.20.0120.01417.44
8.0.10.0000.00716.84
8.0.00.0100.00816.79
7.4.330.0000.00615.09
7.4.320.0000.00716.52
7.4.300.0030.00316.40
7.4.290.0000.00716.50
7.4.280.0070.00016.54
7.4.270.0000.00716.53
7.4.260.0030.00616.62
7.4.250.0000.00816.41
7.4.240.0010.00616.56
7.4.230.0000.00716.57
7.4.220.0090.00916.61
7.4.210.0070.00916.60
7.4.200.0000.00716.32
7.4.160.0120.00416.36
7.4.150.0080.00917.40
7.4.140.0070.01217.86
7.4.130.0120.00616.37
7.4.120.0040.01316.53
7.4.110.0130.00516.58
7.4.100.0030.01316.55
7.4.90.0070.01016.29
7.4.80.0090.00919.39
7.4.70.0140.00316.42
7.4.60.0100.00716.57
7.4.50.0000.00816.16
7.4.40.0030.01216.57
7.4.30.0030.01316.51
7.4.10.0100.01015.10
7.4.00.0090.00814.82
7.3.330.0000.00512.93
7.3.320.0000.00612.94
7.3.310.0030.00316.24
7.3.300.0070.00016.28
7.3.290.0070.00716.25
7.3.280.0110.00816.20
7.3.270.0100.00717.40
7.3.260.0060.00916.39
7.3.250.0110.00916.23
7.3.240.0120.00916.27
7.3.230.0130.00316.39
7.3.210.0030.01316.36
7.3.200.0040.01219.39
7.3.190.0080.00816.38
7.3.180.0000.01516.30
7.3.170.0100.01016.29
7.3.160.0030.01316.43
7.3.130.0090.00914.63
7.3.120.0100.00514.77
7.3.110.0070.00914.83
7.3.100.0050.00914.79
7.3.90.0060.00714.78
7.3.80.0050.00514.65
7.3.70.0020.01014.73
7.3.60.0030.01114.63
7.3.50.0020.01014.68
7.3.40.0050.00714.76
7.3.30.0060.00814.74
7.3.20.0100.00316.46
7.3.10.0040.01016.40
7.3.00.0040.00816.59
7.2.330.0030.01416.45
7.2.320.0070.01016.26
7.2.310.0150.00916.50
7.2.300.0130.00716.63
7.2.290.0060.01016.50
7.2.260.0070.01114.66
7.2.250.0050.01515.01
7.2.240.0050.01114.85
7.2.230.0080.00815.03
7.2.220.0020.01115.05
7.2.210.0040.01114.90
7.2.200.0040.00714.88
7.2.190.0050.01014.84
7.2.180.0040.00814.88
7.2.170.0040.01314.80
7.2.160.0080.00314.63
7.2.150.0030.00616.77
7.2.140.0030.00916.58
7.2.130.0080.00616.67
7.2.120.0060.00916.64
7.2.110.0080.00816.74
7.2.100.0090.00316.62
7.2.90.0050.00616.72
7.2.80.0060.00816.67
7.2.70.0060.01116.39
7.2.60.0080.00316.71
7.2.50.0050.01216.59
7.2.40.0100.00816.66
7.2.30.0070.00916.75
7.2.20.0120.00416.66
7.2.10.0070.00816.61
7.2.00.0050.01017.50
7.1.330.0060.00615.81
7.1.320.0020.00815.75
7.1.310.0030.01015.72
7.1.300.0090.00415.64
7.1.290.0000.01315.59
7.1.280.0070.00715.71
7.1.270.0080.00615.54
7.1.260.0070.00515.64
7.1.250.0090.00315.43
7.1.240.0030.01015.64
7.1.230.0060.00315.71
7.1.220.0040.01115.58
7.1.210.0100.00715.78
7.1.200.0040.00715.71
7.1.190.0030.01015.72
7.1.180.0080.00815.61
7.1.170.0000.01015.63
7.1.160.0040.01115.69
7.1.150.0030.00715.49
7.1.140.0130.00015.77
7.1.130.0060.00915.71
7.1.120.0040.01115.44
7.1.110.0000.01115.79
7.1.100.0030.00816.84
7.1.90.0030.00915.89
7.1.80.0000.01315.51
7.1.70.0000.01116.46
7.1.60.0090.01017.61
7.1.50.0070.00616.06
7.1.40.0030.01315.75
7.1.30.0060.00615.78
7.1.20.0040.00715.69
7.1.10.0070.00315.64
7.1.00.0030.04718.95
7.0.330.0040.00715.51
7.0.320.0040.00815.30
7.0.310.0090.00615.30
7.0.300.0030.00615.32
7.0.290.0030.01015.34
7.0.280.0040.00815.36
7.0.270.0070.00715.37
7.0.260.0040.00815.22
7.0.250.0000.01315.50
7.0.240.0080.00815.51
7.0.230.0120.00315.13
7.0.220.0070.01015.21
7.0.210.0060.00615.55
7.0.200.0060.00516.14
7.0.190.0030.01015.04
7.0.180.0040.00815.48
7.0.170.0030.00715.18
7.0.160.0000.01115.37
7.0.150.0080.00415.56
7.0.140.0030.03818.80
7.0.130.0030.01015.25
7.0.120.0000.01115.24
7.0.110.0000.01215.49
7.0.100.0100.00715.32
7.0.90.0070.03117.73
7.0.80.0070.03817.59
7.0.70.0340.04017.70
7.0.60.0250.04017.62
7.0.50.0220.02817.80
7.0.40.0070.02116.83
7.0.30.0030.03116.71
7.0.20.0050.05316.68
7.0.10.0100.04116.74
7.0.00.0110.04016.66
5.6.400.0040.00714.41
5.6.390.0100.00714.48
5.6.380.0110.00714.05
5.6.370.0040.01414.16
5.6.360.0000.01314.48
5.6.350.0060.01014.13
5.6.340.0040.00814.33
5.6.330.0060.01214.12
5.6.320.0040.01214.53
5.6.310.0060.00613.85
5.6.300.0110.00014.44
5.6.290.0030.01014.22
5.6.280.0030.04017.52
5.6.270.0050.00514.39
5.6.260.0070.00714.57
5.6.250.0090.00614.54
5.6.240.0050.04717.43
5.6.230.0020.04617.44
5.6.220.0120.04017.48
5.6.210.0070.02217.35
5.6.200.0080.03517.89
5.6.190.0050.04517.85
5.6.180.0150.02517.68
5.6.170.0050.04317.51
5.6.160.0050.04517.76
5.6.150.0080.02317.78
5.6.140.0090.04117.67
5.6.130.0080.04217.66
5.6.120.0050.04817.64
5.6.110.0070.04217.66
5.6.100.0060.04517.55
5.6.90.0030.05017.73
5.6.80.0070.03917.35
5.6.70.0080.04317.29
5.6.60.0020.05017.39
5.6.50.0080.02817.38
5.6.40.0060.04517.29
5.6.30.0070.03717.25
5.6.20.0100.02917.30
5.6.10.0120.04017.16
5.6.00.0100.04017.31
5.5.380.0050.04417.39
5.5.370.0100.03817.39
5.5.360.0080.02517.37
5.5.350.0070.02217.30
5.5.340.0070.04517.63
5.5.330.0060.02517.61
5.5.320.0050.03017.54
5.5.310.0050.03017.54
5.5.300.0070.03517.43
5.5.290.0050.04717.51
5.5.280.0050.03617.60
5.5.270.0050.04317.63
5.5.260.0080.04117.46
5.5.250.0070.03817.39
5.5.240.0140.03717.18
5.5.230.0090.03417.17
5.5.220.0100.02617.05
5.5.210.0090.04317.15
5.5.200.0080.03517.21
5.5.190.0120.03917.20
5.5.180.0130.03717.12
5.5.170.0040.01214.21
5.5.160.0050.04017.26
5.5.150.0050.02617.09
5.5.140.0150.03817.11
5.5.130.0100.02516.96
5.5.120.0070.04317.10
5.5.110.0080.04317.27
5.5.100.0110.04017.06
5.5.90.0110.01817.08
5.5.80.0080.03017.06
5.5.70.0050.02417.10
5.5.60.0120.03717.15
5.5.50.0050.04316.94
5.5.40.0140.03917.21
5.5.30.0100.04117.17
5.5.20.0090.04017.00
5.5.10.0100.02117.05
5.5.00.0080.04317.20
5.4.450.0060.04115.87
5.4.440.0090.03215.84
5.4.430.0050.04215.92
5.4.420.0040.03715.93
5.4.410.0100.02315.76
5.4.400.0000.02715.71
5.4.390.0050.04515.69
5.4.380.0070.04015.63
5.4.370.0020.04515.71
5.4.360.0050.04515.72
5.4.350.0000.04415.70
5.4.340.0020.02615.66
5.4.330.0000.00912.30
5.4.320.0060.04315.66
5.4.310.0060.03015.74
5.4.300.0030.02515.54
5.4.290.0030.02315.54
5.4.280.0030.03215.67
5.4.270.0080.03915.55
5.4.260.0020.03215.72
5.4.250.0040.03215.70
5.4.240.0070.02715.68
5.4.230.0060.04115.55
5.4.220.0120.03115.67
5.4.210.0060.03815.60
5.4.200.0080.04015.71
5.4.190.0050.04015.71
5.4.180.0050.04215.59
5.4.170.0050.02015.69
5.4.160.0070.03015.63
5.4.150.0050.04015.71
5.4.140.0040.02614.27
5.4.130.0080.03214.22
5.4.120.0060.02614.29
5.4.110.0020.02314.36
5.4.100.0060.04014.33
5.4.90.0020.02714.26
5.4.80.0070.02014.32
5.4.70.0080.03314.36
5.4.60.0030.04114.32
5.4.50.0050.04114.32
5.4.40.0060.03814.33
5.4.30.0080.02114.30
5.4.20.0070.03714.35
5.4.10.0050.02614.30
5.4.00.0020.02714.06
5.3.290.0100.07014.70
5.3.280.0100.07014.63
5.3.270.0200.06714.59
5.3.260.0130.07714.61
5.3.250.0070.07014.46
5.3.240.0070.07014.62
5.3.230.0100.05714.61
5.3.220.0100.04314.57
5.3.210.0030.06014.59
5.3.200.0070.04014.45
5.3.190.0100.07714.44
5.3.180.0130.04314.44
5.3.170.0070.04314.55
5.3.160.0030.04714.58
5.3.150.0170.03014.42
5.3.140.0030.05714.59
5.3.130.0070.04314.43
5.3.120.0070.08014.42
5.3.110.0030.06714.44
5.3.100.0070.04713.91
5.3.90.0170.06014.04
5.3.80.0030.04314.03
5.3.70.0030.04314.02
5.3.60.0170.06014.00
5.3.50.0030.07713.95
5.3.40.0100.07313.94
5.3.30.0000.08013.88
5.3.20.0030.07713.70
5.3.10.0170.05313.65
5.3.00.0100.05013.52
5.2.170.0030.06011.03
5.2.160.0030.06011.19
5.2.150.0030.03711.13
5.2.140.0070.06311.16
5.2.130.0100.03011.05
5.2.120.0130.04711.16
5.2.110.0130.05710.94
5.2.100.0100.04711.04
5.2.90.0100.05311.11
5.2.80.0070.06311.16
5.2.70.0100.05711.11
5.2.60.0000.04311.13
5.2.50.0070.02711.00
5.2.40.0030.04310.85
5.2.30.0100.06310.98
5.2.20.0100.02710.98
5.2.10.0100.05010.93
5.2.00.0100.05710.82
5.1.60.0100.05010.00
5.1.50.0100.05010.00
5.1.40.0100.0479.83
5.1.30.0030.05310.30
5.1.20.0070.04310.41
5.1.10.0070.05010.13
5.1.00.0000.03310.08
5.0.50.0030.0478.64
5.0.40.0030.0308.49
5.0.30.0000.0738.24
5.0.20.0000.0438.21
5.0.10.0070.0408.25
5.0.00.0070.0538.16
4.4.90.0000.0277.35
4.4.80.0030.0307.35
4.4.70.0000.0407.35
4.4.60.0030.0237.35
4.4.50.0070.0237.35
4.4.40.0030.0507.35
4.4.30.0030.0337.35
4.4.20.0100.0277.35
4.4.10.0070.0277.35
4.4.00.0030.0507.35
4.3.110.0030.0277.35
4.3.100.0030.0307.35
4.3.90.0030.0337.35
4.3.80.0030.0537.35
4.3.70.0070.0307.35
4.3.60.0000.0237.35
4.3.50.0130.0277.35
4.3.40.0000.0507.35
4.3.30.0030.0337.35
4.3.20.0030.0337.35
4.3.10.0000.0377.35
4.3.00.0000.0377.35

preferences:
44.56 ms | 401 KiB | 5 Q