Description
In this course, you will :
- The fundamentals of programming in PHP, one of the world's most popular languages.
- It then considers the concept of Functions and Arrays, as well as the power they provide the programmer in writing better code.
- It delves deeper to teach advanced concepts in PHP such as Classes, Inheritance, and Exception Handling.
- You'll have a firm grasp on the fundamentals of PHP and be prepared to study advanced concepts.
Syllabus :
1. Variables
- Variables and Data Types
- Quick Quiz on Variables
- Variable Variables
- Constants
- Challenge: Make Variables
2. Operators
- Arithmetic Operators
- Precedence and Associativity
- Comparison Operators
- Logical Operators
- Assignment Operators
3. Conditional Statements
- if-else Statement
- if-elseif-else Statement
- Switch Statement
- Ternary Operator
4. Loops
- Introduction to Loops
- while Loops
- do...while Loop
- For Loop
- Foreach Loop
- Equivalence of Looping Structures
- Infinite Loops
5. Functions
- Passing Arguments in Functions
- Pass by Value
- Pass by Reference
- Variable Scope
6. Strings
- Strings
- String Operators
- Built-in Functions
7. Arrays
- Arrays and their Operations
- Multidimensional Array
- Adding Elements in an Array
- Removing Elements from Arrays
- Sorting Arrays
- Merging Arrays
8. Classes and Inheritance
- Introduction To Classes
- Defining Classes
- $this and self
- Constructors & Destructors
- Method and Property Visibility
- Inheritance
9. Exception Handling
- PHP Exceptions
- The Exception Class
- Custom Exceptions