Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

PHP Documentation

Introduction to PHP

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. This scripting language is especially can be embedded into HTML. PHP is a widely-used, free, and efficient alternative to competitors

Basic PHP Example

<!DOCTYPE HTML>
<html>
<head>
    <title>Example</title>
 </head>
<body>

    <?php
        echo "Hello World";
    ?>

</body>
</html>

Table of Contents

  • Base Syntax

  • Language Basics

    • Types
    • Variables
    • Constants
    • Expressions
    • Operators
    • Control Structures
    • functions
    • Classes and Objects
    • Namespaces
    • Errors
    • Exceptions
    • Generators
  • Features

    • Cookies
    • Sessions
    • Forms
    • File uploads
    • Remote files
    • Command line usage