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