Added print_r snippet in php

Added a useful snippet for me to debug :)