run php from terminal windows code example
Example 1: how to run php on windows
If php installed - in cmd > php filename.php
Follow the steps if php not installed, https://www.sitepoint.com/how-to-install-php-on-windows/
Example 2: php run command terminal
php -r "Print \"Hello, World!\";"