Learn PHP from Scratch

Learn PHP from Scratch

Learn PHP from Scratch
Learn PHP from Scratch

Learn PHP from Scratch

This highly interactive course introduces you to fundamental programming concepts in PHP, one of the most popular languages in the world. 

It begins with a simple Hello world program and proceeds on to cover common concepts such as Conditional Statements, Loop Statements, and Logic in PHP.

It then reflects upon the idea of Functions and Arrays, as well as the power they give to the programmer to write better code.

Finally, it dives deeper in order to teach about advanced concepts such as Classes, Inheritance and Exception Handling in PHP. By the time you're done, you'll have a good grip on the basics of PHP, and will be ready to study advanced concepts.

Contents

1. Getting Started

  • Hello World
  • "Hello World" Explained
  • Quiz
  • Challenge: Displaying Output
2. Variables
  • Variables and Data Types
  • Quick Quiz on Variables
  • Variable Variables
  • Constants
  • Challenge: Make Variables
3. Operators
  • Introduction to Operators
  • Arithmetic Operators
  • Precedence and Associativity
  • Comparison Operators
  • Logical Operators
  • Assignment Operators
4. Conditional Statements
  • if-else Statement
  • if-elseif-else Statement
  • Switch Statement
  • Ternary Operator
  • Quiz
  • Challenge 1: Even or Odd
  • Challenge 2: Making a Calculator
5. Loops
  • Introduction to Loops
  • while Loops
  • do...while Loop
  • For Loop
  • Foreach Loop
  • Equivalence of Looping Structures
  • Infinite Loops
  • Quiz
  • Challenge 1: Multiplication Table of a Number
  • Challenge 2: Fibonacci Sequence up to n Number Of Terms
  • Challenge 3: Pyramid Printing By Using For Loop
6. Functions
  • Introduction
  • Passing Arguments in Functions
  • Pass by Value
  • Pass by Reference
  • Variable Scope
  • Challenge 1: Sum of two Numbers
  • Challenge 2: Letter Grade to GPA
  • Recursion
  • Challenge 3: Fibonacci Sequence
  • Quick Quiz on Functions
7. Strings
  • Strings
  • String Operators
  • Built-in Functions
  • Challenge: Check Substring
  • Quiz
8. Arrays
  • Arrays and their Operations
  • Challenge 1: Find the Maximum Value
  • Multidimensional Array
  • Challenge 2: Print a Matrix
  • Quiz 1
  • Adding Elements in an Array
  • Removing Elements from Arrays
  • Sorting Arrays
  • Merging Arrays
  • Quiz 2
9. Classes and Inheritance
  • Introduction To Classes
  • Defining Classes
  • $this and self
  • Constructors & Destructors
  • Method and Property Visibility
  • Inheritance
  • Quiz
  • Exercise 1: Calculating Area
  • Exercise 2: Students Average Marks
10. Exception Handling
  • PHP Exceptions
  • The Exception Class
  • Custom Exceptions
  • Quiz
https://www.educative.io/courses/learn-php-from-scratch?aff=xDzJ

Share This :
Santosh Kumar

We are sharing the knowledge for free of charge and help especially third world countries who can create a simple blog and start making money from own blog. so we have launched this site. Facebook | Twitter | Pinterest | LinkedIn