The downloaded go-pear.phar isn parsed by PHP! Why?
If you have followed the instructions for getting go-pear.phar and you are using e.g. Windows and the Internet Explorer, you might get the strange effect that — although you have named the file go-pear.phar — the file isn’t parsed and the PHP source code of it is shown. The problem is that e.g. the Internet Explorer saves the file as a HTML file with some HTML code around the PHP source code to display the code nicely. To avoid this problem, you should use the source code view of your browser, e.g. by clicking with the right mouse key and selecting “Show source code” from the context menu. If you save now the file that is shown in your editor as go-pear.php, PHP will be able to parse the file properly. Please note that the Windows versions of PHP have a file named go-pear.bat bundled. It is recommended to use this batch file on Windows instead of using go-pear.php.