when i use sleep function it works fine but if i use same function it goes very fast now suppose if i use <?php sleep(10); ?> it will stop for 10 seconds first time but next time it does not work.
Can you post a piece of your code that uses this function?
You doing this through a browser? Is it possible the browser is caching the page?