Using a variable both as an 'array expression' and as a 'key' or 'value' most often is a typing error.