Remove 'local' from array_nth, add usage examples