Originally posted by batman
I don't think that can be done with php.
You're 100% right. PHP is server-side, and this is a client-side issue.
You must use javascript to do something like this. Whenever a title changes (via javascript), the window will blink. This can be achieved using settimeout() and document.title().
Try looking them up on Google to see how to use them correctly.