educative.io

Learn PHP from Scratch (Educative)


Arrays - Challenge 1: Find the Maximum Value Have questions about Challenge 1: Find the Maximum Value? Go for it! View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5692207902228480). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5694600199012352). Functions - Passing Arguments in Functions This lesson discusses parameters and how you can pass arguments to functions. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5768761399312384). Classes and Inheritance - Exercise 1: Calculating Area This is a basic exercise on defining a class that helps calculate the area of a triangle. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5738859568562176). Getting Started - Hello World This lesson gets you acquainted with the Hello World program in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5678272343965696). Getting Started - Quiz Solve a short quiz to test the basic understanding of the concepts explained in this chapter! View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5191704088936448). Operators - Precedence and Associativity This lesson discusses two important characteristics of arithmetic operators, i.e., precedence and associativity. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5683762654347264). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5720582603669504). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5706739387203584). Arrays - Adding Elements in an Array In this lesson, we will learn about adding elements at the start, end and in between an array View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5743142993133568). Getting Started - Challenge: Displaying Output In this exercise, you will try printing text using the echo statement. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5643661618446336). Loops - while Loops This lesson introduces the while loops in PHP. It uses coding examples to show their implementation and explain how they work. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5147424586727424). Strings - Built-in Functions This lesson discusses the in-built functions used for performing various string operations. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5702106459668480). Strings - Quiz Quick quiz to test your understanding of strings in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5616462909669376). Conditional Statements - Ternary Operator This lesson discusses ternary operators in detail including compound ternary expressions using examples. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5759100675686400). Conditional Statements - Challenge 1: Even or Odd In this exercise, you are required to check whether the number is Even or Odd. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5629810348916736). Loops - Introduction to Loops This lesson introduces the concepts of loops and the different kinds of loops in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/6090063517581312). Loops - For Loop This lesson will teach the concept and implementation of for loops and nested for loops in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5660589158301696). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5418484513112064). Loops - Quiz Quiz to test your understanding of loops in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5201852291350528). Loops - Infinte Loops This lesson explains how infinite loops might arise in a while loop using an example. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/4873046775037952). Functions - Pass by Reference This lesson introduces the ways by which we pass values to a function by reference. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5672517624659968). Functions - Challenge 1: Sum of two Numbers Write a function to calculate the sum of two numbers. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5724419888513024). Functions - Pass by Value This lesson introduces the pass value method of passing a parameter to a function. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5700074134831104). Arrays - Challenge 2: Print a Matrix Solve the following challenge to print a matrix, i.e., a two-dimensional array. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5687256610242560). Loops - Equivalence of Looping Structures This lesson explains how we can covert a for loop into a while loop. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5136740587143168). Classes and Inheritance - Defining Classes In this lesson, we will be learning about classes and how to define them. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5734938531856384). Classes and Inheritance - Constructors & Destructors This lesson introduces the concept of constructors, destructors, how to declare and call them. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5646368521584640). Functions - Recursion This lesson explains the concept of recursion using the factorial example View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5189146972782592). Strings - String Operators This lesson discusses string operators used for concatenating two strings. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5760316151431168). Loops - Foreach Loop This lesson discusses the foreach loop and its implementation in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5703251068452864). Arrays - Merging Arrays Have questions about Merging Arrays? Go for it! View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5641386627956736). Arrays - Sorting Arrays Learn how to sort arrays in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5704866244591616). Classes and Inheritance - Introduction To Classes In this lesson, we will learn about classes using object-oriented methodology. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5656735767330816). Variables - Variable Variables This lesson introduces variable variables, also called dynamic variables, and discusses how you can use them in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5664442549272576). Arrays - Quiz 1 Solve this quiz to practice your concepts of arrays. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5114113625686016). Exception Handling - Custom Exceptions Create custom exceptions in PHP that are tailor-made for your program. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5747302400524288). Conditional Statements - if-else Statement This lesson discusses if-else statements in detail including nested-ifs using examples. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5660290926510080). Operators - Introduction to Operators This lesson briefly covers operators and their various types. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5631265269088256). Functions - Variable Scope This lesson discusses the scope of variables including the local and global variables. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5636476406595584). Arrays - Removing Elements from Arrays This lesson discusses an important array operation, i.e., removing elements from an array. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5098562891284480). Classes and Inheritance - Inheritance This lesson introduces the concept of Inheritance focusing on base and derived classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5663032994693120). Exception Handling - The Exception Class This lesson discusses how you can use the Exception class for exception handling using various coding scenarios. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5165823152881664). Variables - Quick Quiz on Variables Solve this quiz to practise your concepts of variables and datatypes. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5743651678322688). Conditional Statements - Challenge 2: Making a Calculator In this exercise, you are required to implement a calculator by using Switch statements. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5708013113442304). Classes and Inheritance - $this and self This lesson discusses the use of this and self in accessing members in classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5171988578435072). Loops - Challenge 1: Multiplication Table of a Number In this exercise, you have to print the multiplication table of a number up to 10. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5638967219191808). Operators - Assignment Operators Have questions about Assignment Operators? Go for it! View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5723688670330880). Functions - Quick Quiz on Functions Solve a quick quiz to test your understanding of functions in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5665655072227328). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5650433708130304). Exception Handling - Quiz Solve a quick quiz to practice your concepts of exception handling. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5662021529894912). Operators - Arithmetic Operators This lesson discusses arithmetic operators and how you can use them to perform basic arithmetic in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5672321129906176). Variables - Challenge: Make Variables Declare variables in PHP and assign values to them. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5746849281474560). Conditional Statements - Switch Statement This lesson introduces the switch statement, its basic syntax and how it is written using an example View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5166962124521472). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5102196433616896). Operators - Logical Operators This lesson covers logical operators and how we can use them to evaluate conditions in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5747002021249024). Conditional Statements - Quiz Solve a short quiz to test your understanding of the conditional statements in PHP. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5737718181003264). Arrays - Arrays and their Operations In this lesson. we will learn about printing arrays and finding length of an array. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5653180608151552). Conditional Statements - if-elseif-else Statement This lesson discusses if-elseif-else statements in detail using examples. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5645223912800256). Loops - Challenge 2: Fibonacci Sequence up to n Number Of Terms In this exercise, you have to compute Fibonacci series up to n number. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5750318541307904). Strings - Strings This lesson discusses string interpolation using examples. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5667433457123328). Strings - Challenge: Check Substring In this exercise, you will be required to check if a specific string exists in a given string. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5654924979339264). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5633924927586304). Functions - Challenge 2: Letter Grade to GPA Write a function to calculate the GPA of a student when given the grade. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5085947230158848). Classes and Inheritance - Exercise 2: Students Average Marks Calculate a student's average marks using the concept of classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/6248474618101760). Functions - Challenge 3: Fibonacci Sequence Practice your concepts of recursion by writing a function to calculate the Fibonacci sequence. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5727247050735616). Arrays - Multidimensional Array In this lesson, we will learn how to work with multidimensional arrays. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5206727079231488). Exception Handling - PHP Exceptions This lesson discusses what exceptions are and how PHP allows you to handle them. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5696474952237056). Arrays - Quiz 2 Solve this quiz to practice your concepts of arrays. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5728427093000192). Classes and Inheritance - Quiz A short quiz to test your understanding of classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5713026414018560). 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. View the lesson [here](https://www.educative.io/collection/page/10370001/5669965877215232/5744930236399616).
About the Learn PHP from Scratch (Educative) category [Learn PHP from Scratch (Educative)] (1)