@@ 739-741 (lines=3) @@ | ||
736 | } |
|
737 | $f = array_keys($lookup_array); |
|
738 | $firstRow = array_pop($f); |
|
739 | if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) { |
|
740 | return Functions::REF(); |
|
741 | } |
|
742 | $columnKeys = array_keys($lookup_array[$firstRow]); |
|
743 | $returnColumn = $columnKeys[--$index_number]; |
|
744 | $firstColumn = array_shift($columnKeys); |
|
@@ 808-810 (lines=3) @@ | ||
805 | } |
|
806 | $f = array_keys($lookup_array); |
|
807 | $firstRow = array_pop($f); |
|
808 | if ((!is_array($lookup_array[$firstRow])) || ($index_number - 1 > count($lookup_array[$firstRow]))) { |
|
809 | return Functions::REF(); |
|
810 | } |
|
811 | $columnKeys = array_keys($lookup_array[$firstRow]); |
|
812 | $firstkey = $f[0] - 1; |
|
813 | $returnColumn = $firstkey + $index_number; |