Skip to content
Academy
TracksLeaderboardPremium
Tracks/ PHP: the language of the server-side web

PHP: the language of the server-side web

The language behind a huge share of the web. Variables, arrays, functions, classes and interfaces in modern PHP 8.

Beginner to advanced · 8 lessons · about 72 minutes

Start the track
  1. 1Hello, PHP BeginnerPrint with echo, use variables, and join text with dots and double quotes.6 min
  2. 2Decisions with if and match BeginnerChoose what to do with if, elseif and else, and PHP 8's match expression.8 min
  3. 3Loops BeginnerRepeat with for and while, and go through arrays with foreach.7 min
  4. 4Arrays BeginnerIndexed lists and associative arrays, PHP's all-purpose data structure.9 min
  5. 5Typed functions IntermediateDeclare parameter and return types, defaults and named arguments.9 min
  6. 6array_map, array_filter and usort IntermediateTransform, filter, sort and summarise arrays with functions instead of loops.10 min
  7. 7Classes and objects AdvancedBuild classes with constructor promotion, visibility and readonly properties.11 min
  8. 8Interfaces, inheritance and exceptions AdvancedProgram to interfaces, extend abstract classes, and design your own exceptions.12 min
Track project · Reviewed by a mentor · PremiumProject: Invoice generatorBuild an invoice generator for a market stall, with validated line items, pluggable discounts, VAT and a neatly printed invoice.

Bytepic Academy is free to learn. Made by Bytepic.

Premium·Get a mentor·Leaderboard·Contact·Privacy·Terms