Switching my reversed arguments - silly PHP array functions