Category Archives: PHP

How to delete key in Redis Cache in Laravel?

In this blog, I am going to share with you a small tutorial that will help you to understand how you can delete key in Redis cache. To delete the Redis key in laravel, first of all you have use this Illuminate\Support\Facades\Redis Laravel facade. And then use below method: Let’s say, you have a key… Read More »

How to check duplicate records in an array using PHP

If you are looking for the code to check duplicate records in an array using PHP function, then you are in the right place. In this post, I am going to create a function check_duplicates(), which will find the duplicate records in an array and will return the duplicate records as an array with the… Read More »