Menu Close

Combine two arrays

I am using Redis to store key:value data. When I ask for the values by keys I only get the values back. With this simple piece of code I can combine the value and the key together.

PHP Logo

Create a PHP deamon

Suppose you have a PHP script that you want to run automatically as a service. In Linux, we call that a deamon. You can create…