This is an old question and the PHP library ddluis linked to has many flaws.
The recommended PHP subscriber in the Google Code wiki is PuSHSubscriber:
http://github.com/lxbarth/PuSHSubscriber/
UPDATE:
I forked PuSHSubscriber: http://github.com/bobdia/PuSHSubscriber
I've made a few incompatible changes with the original. A simple implementation can be found in the /example directory. This is not meant for real use, just for demonstration purposes. I hope you find it useful.