Limit Offset Array PHP
array_slice($array, 0, 50); // same as offset 0 limit 50 in sql
Gifted Gaur
array_slice($array, 0, 50); // same as offset 0 limit 50 in sql