PHP

PHP is another interpreted language using weak dynamic typing that is very popular for web applications. In fact, some people erroneously believe that PHP is only usable for web applications. It is technically a complete, general-purpose programming language, although it has several features that make it more popular for web work. Many of the languages discussed here can be used in embedded code within web pages, provided that the code is marked off from the rest of the page with the appropriate tags. PHP is unusual in that it must always be demarcated with such tags, even when it is used for command-line tasks that will never come near a webserver. It has weak, dynamic typing and is interpreted.

PHP and Ruby share the characteristic of having ...

Get Ruby by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.