Object-Oriented Programming (OOP) in PHP
Classes, constructors, visibility, interfaces and traits in PHP — with constructor promotion and the modern syntax that removes most of the boilerplate.
Try: python lists, javascript functions, syntax error, first project
Server-side PHP explained simply — forms, sessions, databases and the errors that stop beginners. Practical examples you can run on a local server.
5 guides
Classes, constructors, visibility, interfaces and traits in PHP — with constructor promotion and the modern syntax that removes most of the boilerplate.
PHP arrays are both lists and dictionaries. How indexed and associative arrays differ, the functions worth knowing, and when to reach for…
The difference between errors and exceptions in PHP, how try/catch/finally works, when to throw your own, and why you must never show…
Writing PHP functions, default and named arguments, type declarations, and using callables so one function can behave differently for different callers.
How PHP receives form data, why you must never trust it, and the validation, escaping and redirect pattern that makes a form…
Related topics
The fastest way to improve is to read one guide, then build the thing it describes. Start with the basics, or jump straight to a project.