Lessons
PHP · Easy
PHP · Easy. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Classes and properties
class, $this, public properties.

Lesson 2
Constructors and methods
__construct, typed methods, return types.

Lesson 3
Visibility and static
public/protected/private, self::, static props.

Lesson 4
Inheritance
extends, parent::, override.

Lesson 5
Interfaces and traits
interface, implements, trait, use inside class.

Lesson 6
Exceptions
try / catch / finally, throw, Exception.

Lesson 7
File I/O
file_get_contents, file_put_contents, fopen family, __DIR__.

Lesson 8
Escaping and forms
htmlspecialchars, $_POST, method=post sketch.

Lesson 9
Validation with filter
filter_var, FILTER_VALIDATE_EMAIL, filter_input, required checks.

Lesson 10
Easy capstone
Class + validated input + file write.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.