Browsed by
Category: Tech

How to determine change between two arrays

How to determine change between two arrays

Recently, I was building a historical data tracker, which would track any changes in settings across a large application. All of the settings would be pulled from their MySQL tables and stored in a PHP array. Storing those settings (just short of 25,000 of them) would have been unfeasible on the MySQL database. At the time, we didn’t have a Mongo instance running either. So I serialized each array and stored it as its own record. Every minute, a cron…

Read More Read More