Search⌘ K
Join for free
Home>Courses>Learn PHP from Scratch

Learn PHP from Scratch

Explore PHP basics like Conditionals, Loops, Functions, and Arrays, then dive into advanced topics such as Classes, Inheritance, and Exception Handling to boost your programming skills.

Beginner

71 Lessons

9h

Certificate of Completion

Explore PHP basics like Conditionals, Loops, Functions, and Arrays, then dive into advanced topics such as Classes, Inheritance, and Exception Handling to boost your programming skills.
AI-POWERED

Code Feedback

Explanations

AI-POWERED

Code Feedback

Explanations

This course includes

2 Assessments
102 Playgrounds
15 Challenges
14 Quizzes
Course Overview
Course Content
Apply Your Skills

Course Overview

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, Inherit...Show More
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, L...Show More

Course Content

1.

Getting Started

4 Lessons

Get familiar with PHP basics by writing "Hello World" and simple output.

2.

Variables

5 Lessons

Look at PHP variables, data types, constants, and variable variables for flexible coding.

3.

Operators

6 Lessons

Examine various PHP operators to perform arithmetic, logical, comparison, and assignment operations.

4.

Conditional Statements

7 Lessons

Grasp the fundamentals of PHP conditional statements, including if-else, switch, and ternary operators.

7.

Strings

5 Lessons

Build on string manipulation, operators, built-in functions, and substring challenges in PHP.

10.

Classes and Inheritance

9 Lessons

Grasp the fundamentals of PHP classes, inheritance, access modifiers, constructors, and practical exercises.

11.

Exception Handling

4 Lessons

Examine how to manage PHP exceptions, use the Exception class, and create custom handlers.

Show License and Attributions

Trusted by 2.5 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

Free Resources