In python, I would simply have a loop with:

time.sleep(25)
do_something()

How do I do this in PHP?