1 – The first thing you need virtual Web server to simulate every thing you do ; so you can download and install WampServer or XamppServer on your Windows or
Video for Wamp Server installation here
2 – You can create PHP program by PHP Language : php.net
3 – Open this path C:\xampp\htdocs (Xampp Default path ) and C:\wamp\www\ (Wamp Default path ) on your system and then create test.php file and write the following function and after that save it
<?php
phpinfo();
?>
4 – You can check you code by using loopback ip (127.0.0.1) in you browser (firefox or chrome or …) like this : https://127.0.0.1/test.php
5 – It has been done ! enjoy it