Unique id generation in php

Using the function uniqid(); we can generation unique id in php.

This will use current time stamp in micro second and generate unique id.