I know how to grab a sources HTML but not PHP is it possible with the built in functions?
PHP scripts are run server-side and produce a HTML document (among other things). You will never see the PHP source of a HTML document when requesting a website, hence there is no way for Python to grab it either. This isn't even Python-related.
Python grabbing pages source with PHP in it