PHP Beginner ~12 h 1 students enrolled

PHP Basics

Learn PHP from scratch: variables, conditionals, loops, arrays and functions. Write and run code right in your browser — 20 lessons, 25 exercises and a certificate.

20 lessons
25 exercises
1415 XP for course
~12 h

What You'll Learn

Introduction to PHP
Variables & Data Types
Strings
Numbers & Math
Conditionals
Loops
Arrays
Functions
Final

This Course Includes

Interactive exercises with instant feedback
Real compiler in your browser
Certificate upon completion
Gamification: XP, levels, badges

Curriculum

9 lessons · 20 lessons · 25 exercises

1

Introduction to PHP

Learn what PHP is, where it's used and write your first code

  • What is PHP? +10 XP
  • Getting Started +10 XP
  • First Program +15 XP
2

Variables & Data Types

Learn to create variables and work with different data types

  • Variables +10 XP
  • Data Types +10 XP
  • Working with Variables +15 XP
3

Strings

Learn to work with text: join, search, replace

  • Working with Strings +10 XP
  • String Practice +15 XP
4

Numbers & Math

Arithmetic operations and PHP math functions

  • Arithmetic & Functions +10 XP
  • Number Practice +15 XP
5

Conditionals

Learn to make decisions in code: if, else, switch

  • if, else and switch +10 XP
  • Conditionals Practice +15 XP
6

Loops

Repeat actions with for, while and foreach

  • for, while and foreach +10 XP
  • Loop Practice +15 XP
7

Arrays

Storing and processing collections of data

  • Arrays in PHP +10 XP
  • Array Practice +15 XP
8

Functions

Create your own commands — functions with parameters and return values

  • Creating Functions +10 XP
  • Function Practice +15 XP
9

Final

Let's wrap up and solve final challenges

  • What's Next? +10 XP
  • Final Challenges +20 XP

Requirements

No prior knowledge required — we start from scratch

Course FAQ

Do I need programming experience?
Not at all! This course is built for complete beginners. We start from the basics and gradually increase complexity.
How do lessons work?
Each lesson includes theory with examples and interactive exercises. You write code right in your browser, and our compiler checks the result.
How long does the course take?
On average, you can complete the course in a few days at 1-2 hours per day. But there's no rush — learn at your own pace.
Will I get a certificate?
Yes! After completing all lessons and exercises, you'll receive an electronic certificate with a unique ID.

Ready to start?

Sign up for free and start coding right now. Your first result in 5 minutes.

Start Learning