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
<?php echo "Hello PHP!!!!!"; ?>
Now run this script as command prompt as follows:
$ php test.php
It will produce following result:
Hello PHP!!!!!
How to running my PHP code in [CMD] Command Prompt
Reviewed by Rajat Jha
on
20:27:00
Rating:
No comments: