Tuesday, October 30, 2007

Microtime()

Never thought I will ever come across the use of a microsecond but I did today. In churning out temporary files with a unique filename at a rate of about 16 per second, the microsecond comes in really useful, much more convenient and safe than using random numbers to gain uniqueness. The microtime() function is magic.

No comments:

Post a Comment