What this essentially does is output the array, but becuase we have output buffering on we can catch the output and store it in a varialbe ($szLog) which we can then log to a file (or other source) via the error_log function.
Hope this tip helps someone, it can be very useful for cron type scripts.
No problem, we all oftentimes just stick with what we've been doing from years and years ago. The introduction of little changes (like the inclusion of another argument) is very easy to miss, especially if the 'old' way just works fine also.
P.S. Sorry for coming in and making you edit these tips :p
Lol np, I'm glad you did, I'll certainly be using it from now on! I just wish I didn't edit it now tbh, as it has ruined the flow of the thread. I may have to re-edit it back to how it originally was then post the updated tip below :)