PHP is open source and free, and has a BSD-style license, making it corporation-friendly.
PHP is perfect for rapidly developing applications both big and small, and is great for
creating Web 2.0 applications. It powers over twenty million web sites on the Internet and
has a huge user community behind it. It runs on many platforms.
The language is dynamically typed and easy to use. PHP comes with many extensions
offering all kinds of functionality such as database access. PHP 5 introduced strong object
orientated capabilities.
PHP code is commonly embedded in HTML:
Hello";
?>
World
PHP is typically installed as an Apache module, or run by the web server using FastCGI.
When the PHP parser processes a file, it executes the PHP code and outputs any results. The
HTML sections are echoed to the web browser verbatim. The HTML output from the above
script would therefore be:
Hello
World
The PHP command line interface (CLI) can also be used to run PHP scripts from an
operating system shell window.
0 Response to 'Introduction to PHP'
Post a Comment