Lessons
PHP · Medium
PHP · Medium. 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
Namespaces and use
namespace, use, FQCN, \ root.

Lesson 2
Autoload sketch
spl_autoload_register, Composer PSR-4 idea.

Lesson 3
Abstract classes and final
abstract class, abstract function, final class / final function.

Lesson 4
Magic methods
__toString, __invoke, __get — when they fire.

Lesson 5
Generators and yield
yield, foreach over generator, lazy sequences.

Lesson 6
Closures and callable
function () use ($x), callable type, bind.

Lesson 7
PDO prepared statements
new PDO, prepare, execute, fetch — never concatenate SQL.

Lesson 8
Sessions
session_start, $_SESSION, set/read/unset.

Lesson 9
DateTimeImmutable
create, modify/format, immutability vs DateTime.

Lesson 10
Medium capstone
Namespaced class + PDO prepare + DateTimeImmutable stamp.
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.