PHP Tutorial

Hypertext Preprocessor (PHP) is an open source scripting language used extensively for server-side web development.

A PHP code is processed over a web server using a PHP interpreter implemented in a daemon, module, or an executable CGI (Common Gateway Interface).

Created in 1994 by Rasmus Lerdorf, a Danish-Canadian programmer, PHP was named Personal Home Page originally. He released the first PHP version (PHP 1.0) in June 1995.

PHP’s unique syntax is a mix of C, Java, Perl, and PHP’s own syntax. Conducive to learning, widely used, mainly applicable to the field of Web development.


Learn PHP by Example

Our PHP online examples make it easier for you to learn PHP. The examples include PHP source code and running results.

<!DOCTYPE HTML>
<html>
<head>
    <title>PHP First Application</title>
</head>
<?php
//Display greeting message 
echo 'Hello World!';
?>
</html>

PHP Reference Manual

  • PHP Array function
  • PHP Calendar function
  • PHP Class/Object functions
  • PHP Ctype functions
  • PHP Date & Time functions
  • PHP Directory function
  • PHP Error & Loggings function
  • PHP Filesystem functions
  • PHP MySQL functions
  • PHP HTTP functions
  • PHP ODBC functions
  • PHP String functions
  • PHP SimpleXML functions
  • PHP Examples