You look to be passing the wrong arguments for that method. The second argument is an INT.
array array_slice ( array $array , int $offset [, int $length = NULL [, bool $preserve_keys = false ]] )
Try this:
$usernames_new = array_splice($usernames, $limit_value_from, $limit_value_to);