Understanding PHP
PHP works where nobody looks: on the server. Here we explain the language, its terms and typical misconceptions — without prior knowledge, but with enough depth for you to put technical answers into context.
Recommended reading order
- What is PHP and what is it used for?Start here: browser, server and what PHP actually does during a request.
- PHP in the backend: what happens after a form is submitted?The six steps every input goes through — and the error case.
- PHP and JavaScript: which tasks does each handle?The boundary between browser and server, where many project errors are decided.
- Variables, data types and arraysFrom here it gets concrete: the building blocks that all PHP code works with.
- Functions and classes in PHPHow building blocks become something reusable.
- What is object-oriented programming?The idea behind classes — and where it reaches its limits.
- Namespaces and autoloadingHow many classes coexist without name conflicts.
- ComposerThe tool that manages third-party code and finds the classes.
All articles in this section
Planning an application in PHP?
For an initial conversation, a description of your task and the most important processes is enough.