If you want to test your php code then download a program called XAMPP, then go to the XAMPP control panel and where it says appache and mysql click start, then type up some php and save to the XAMPP folder "htdocs" as a .php file. Then in your browser go to "127.0.0.1/yourcode.php".