How to running my PHP code in [CMD] Command Prompt
Running PHP Script from Command Prompt:
Yes you can run your PHP script on your command prompt. Assuming you have following content in test.php file
1234<?php
echo "Hello PHP!!!!!";
?>
Now run this script as command prompt as follows:
1$ php test.php
It will produce following result:
1Hello PHP!!!!!
How to running my PHP code in [CMD] Command Prompt
Reviewed by Rajat Jha
on
20:27:00
Rating:
No comments: