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

This course includes

2 Assessments
102 Playgrounds
15 Challenges
14 Quizzes

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

TAKEAWAY SKILLS

Php

Programming Language

Learn To Code

Course Content

1.

Getting Started

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

Variables

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

Operators

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

Conditional Statements

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.
9.

Classes and Inheritance

9 Lessons

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

Exception Handling

4 Lessons

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

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

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