'php array limit not exceeding more than 970

I am working in laravel system. when I do create or update from blade I am getting an array of results like this to save or update in the database.

$kitchenList = $request->input('kitchens', [])??[];

But I am facing an issue with array length when array length increases more than 970. It is giving only 970 elements. The rest of the elements are missing.

How can I solve this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source