Tools, FAQ, Tutorials:
Running a PHP Script
How To Run a PHP Script?
✍: FYIcenter.com
A standard alone PHP script can be executed directly with the PHP Command Line Interface (CLI). Write the following script in a file called hello.php:
<?php echo "Hello world!"; ?>
This script can be executed by CLI interface like this:
\php\php hello.php
You should see the "Hello world!" message printed on your screen.
⇒ Understanding PHP String Literals and Operations
⇐ PHP Configuration Setting File
2016-10-13, 1753👍, 0💬
Popular Posts:
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are ne...
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to use the JSON to XML Conversion Tool at freeformatter.com? If you want to try the JSON to XML ...
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...