Answer based on comments.
PHP file must be interpreted by web server (in your case - apache with php extension, which is part of XAMPP), which executes PHP code and sends script output/result via http protocol to web browser.
To execute PHP script and show it's result you have to use HTTP, like this: http://localhost/doctrinetest/welcome.php
.
c:\xampp\htdocs
directory is "served" at http://localhost/
URL.
Opening that file via filesystem (not using apache server) will output blank page, because browser is not supposed to execute PHP. However, that blank page will contain your static HTML part of code.
It looks like, you dont understand how PHP works. You need to read some books about web fundamentals.
Eventually you can visit http://thenewboston.org or http://phpacademy.org - they have very good educational videos.
".$z."
";` or try just running `phpinfo();` – dnelson Feb 28 '13 at 18:04