Introduction to PHP
With this PHP initiation, discover the functional richness of this programming language and learn to structure and develop robust web apps.
Program
1 - PHP, an omnipresent language
2 - Installation
3 - Hello World
4 - Conventions
5 - Running a program
- Command line
- Web server
6 - Syntax
7 - Types
- Simple types
- Special and compound types
- Pseudo types and aliases
- Type manipulation
- Casting
8 - Operators
- Comparison operators
- Logical operators
9 - Control structures
10 - Tables
- Simple tables
- Associative tables
- Array loops
11 - Functions
- Standard library
- Custom functions
- Type hint and return types
- Passing arguments by reference
- Variadic functions
- Anonymous functions and closures
12 - Object Oriented Programming
- Classes and objects
- Properties and class constants
- Methods
- Constructor
- Heritage
- Abstract classes
- Static methods and heritages
- Interfaces
- Traits
- Namespaces and PSR-4