Arrays - Multidimensional Array
In this lesson, we will learn how to work with multidimensional arrays.
Arrays - Challenge 1: Find the Maximum Value
Have questions about Challenge 1: Find the Maximum Value? Go for it!
Classes and Inheritance - Quiz
A short quiz to test your understanding of classes.
Classes and Inheritance - Method and Property Visibility
This lesson discusses access modifiers like public, private and protected and how they affect the visibility of members.
Functions - Passing Arguments in Functions
This lesson discusses parameters and how you can pass arguments to functions.
Classes and Inheritance - Exercise 1: Calculating Area
This is a basic exercise on defining a class that helps calculate the area of a triangle.
Getting Started - Quiz
Solve a short quiz to test the basic understanding of the concepts explained in this chapter!
Getting Started - Hello World
This lesson gets you acquainted with the Hello World program in PHP.
Operators - Precedence and Associativity
This lesson discusses two important characteristics of arithmetic operators, i.e., precedence and associativity.
Variables - Variables and Data Types
This lesson discusses how you can use variables to store data and the various types of these variables, i.e., data types.
Variables - Constants
This lesson discusses all there is to know about constants, i.e., defining them, checking if they’re defined and using them in PHP programs.
Exception Handling - PHP Exceptions
This lesson discusses what exceptions are and how PHP allows you to handle them.
Operators - Arithmetic Operators
This lesson discusses arithmetic operators and how you can use them to perform basic arithmetic in PHP.
Arrays - Adding Elements in an Array
In this lesson, we will learn about adding elements at the start, end and in between an array
Getting Started - "Hello World" Explained
This lesson explains in detail the Hello World code written in the last lesson. It explains the basic syntax used in almost every PHP code.
Getting Started - Challenge: Displaying Output
In this exercise, you will try printing text using the echo statement.
Loops - while Loops
This lesson introduces the while loops in PHP. It uses coding examples to show their implementation and explain how they work.
Strings - Built-in Functions
This lesson discusses the in-built functions used for performing various string operations.
Strings - Quiz
Quick quiz to test your understanding of strings in PHP.
Conditional Statements - Ternary Operator
This lesson discusses ternary operators in detail including compound ternary expressions using examples.
Conditional Statements - Challenge 1: Even or Odd
In this exercise, you are required to check whether the number is Even or Odd.
Loops - Challenge 2: Fibonacci Sequence up to n Number Of Terms
In this exercise, you have to compute Fibonacci series up to n number.
Loops - do...while Loop
This lesson discusses the do-while loops in PHP. It uses coding examples to show their implementation and explain how they work.
Loops - For Loop
This lesson will teach the concept and implementation of for loops and nested for loops in PHP.
Loops - Introduction to Loops
This lesson introduces the concepts of loops and the different kinds of loops in PHP.
Loops - Quiz
Quiz to test your understanding of loops in PHP.
Loops - Infinte Loops
This lesson explains how infinite loops might arise in a while loop using an example.
Conditional Statements - if-elseif-else Statement
This lesson discusses if-elseif-else statements in detail using examples.
Variables - Challenge: Make Variables
Declare variables in PHP and assign values to them.
Functions - Pass by Reference
This lesson introduces the ways by which we pass values to a function by reference.
Functions - Challenge 1: Sum of two Numbers
Write a function to calculate the sum of two numbers.
Arrays - Challenge 2: Print a Matrix
Solve the following challenge to print a matrix, i.e., a two-dimensional array.
Functions - Pass by Value
This lesson introduces the pass value method of passing a parameter to a function.
Loops - Equivalence of Looping Structures
This lesson explains how we can covert a for loop into a while loop.
Classes and Inheritance - Defining Classes
In this lesson, we will be learning about classes and how to define them.
Classes and Inheritance - Constructors & Destructors
This lesson introduces the concept of constructors, destructors, how to declare and call them.
Functions - Recursion
This lesson explains the concept of recursion using the factorial example
Functions - Challenge 3: Fibonacci Sequence
Practice your concepts of recursion by writing a function to calculate the Fibonacci sequence.
Functions - Quick Quiz on Functions
Solve a quick quiz to test your understanding of functions in PHP.
Conditional Statements - Switch Statement
This lesson introduces the switch statement, its basic syntax and how it is written using an example
Operators - Assignment Operators
Have questions about Assignment Operators? Go for it!
Loops - Foreach Loop
This lesson discusses the foreach loop and its implementation in PHP.
Arrays - Merging Arrays
Have questions about Merging Arrays? Go for it!
Strings - String Operators
This lesson discusses string operators used for concatenating two strings.
Arrays - Sorting Arrays
Learn how to sort arrays in PHP.
Classes and Inheritance - Introduction To Classes
In this lesson, we will learn about classes using object-oriented methodology.
Classes and Inheritance - Exercise 2: Students Average Marks
Calculate a student’s average marks using the concept of classes.
Variables - Variable Variables
This lesson introduces variable variables, also called dynamic variables, and discusses how you can use them in PHP.
Arrays - Quiz 1
Solve this quiz to practice your concepts of arrays.
Exception Handling - Custom Exceptions
Create custom exceptions in PHP that are tailor-made for your program.
Exception Handling - Quiz
Solve a quick quiz to practice your concepts of exception handling.
Operators - Comparison Operators
This lesson covers the comparison operators and how you can use them in PHP. It also covers a special comparison operator, i.e., the spaceship operator.
Conditional Statements - if-else Statement
This lesson discusses if-else statements in detail including nested-ifs using examples.
Conditional Statements - Quiz
Solve a short quiz to test your understanding of the conditional statements in PHP.
Strings - Strings
This lesson discusses string interpolation using examples.
Strings - Challenge: Check Substring
In this exercise, you will be required to check if a specific string exists in a given string.
Arrays - Quiz 2
Solve this quiz to practice your concepts of arrays.
Operators - Introduction to Operators
This lesson briefly covers operators and their various types.
Loops - Challenge 3: Pyramid Printing By Using For Loop
In this exercise, you have to print half a pyramid for a given number of rows.
Functions - Introduction
This lesson will give a basic introduction to functions and its types, like inbuilt and user-defined functions, as well as their PHP syntax.
Functions - Variable Scope
This lesson discusses the scope of variables including the local and global variables.
Functions - Challenge 2: Letter Grade to GPA
Write a function to calculate the GPA of a student when given the grade.
Arrays - Removing Elements from Arrays
This lesson discusses an important array operation, i.e., removing elements from an array.
Arrays - Arrays and their Operations
In this lesson. we will learn about printing arrays and finding length of an array.
Classes and Inheritance - Inheritance
This lesson introduces the concept of Inheritance focusing on base and derived classes.
Exception Handling - The Exception Class
This lesson discusses how you can use the Exception class for exception handling using various coding scenarios.
Variables - Quick Quiz on Variables
Solve this quiz to practise your concepts of variables and datatypes.
Operators - Logical Operators
This lesson covers logical operators and how we can use them to evaluate conditions in PHP.
Conditional Statements - Challenge 2: Making a Calculator
In this exercise, you are required to implement a calculator by using Switch statements.
Loops - Challenge 1: Multiplication Table of a Number
In this exercise, you have to print the multiplication table of a number up to 10.
Classes and Inheritance - $this and self
This lesson discusses the use of this and self in accessing members in classes.