How is a PHP script executed?

PHP scripts can be easily executed from the command-line interface (CLI). The syntax is as follows:

1php filename.php

Here, filename refers to the file that contains scripts. The extension .php is needed alongside the filename.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *