improves php example
Merge pull request #8 from folieadrien/php-stack

improves php example