Skip to content

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

  1. What is PHP and what is it used for?Start here: browser, server and what PHP actually does during a request.
  2. PHP in the backend: what happens after a form is submitted?The six steps every input goes through — and the error case.
  3. PHP and JavaScript: which tasks does each handle?The boundary between browser and server, where many project errors are decided.
  4. Variables, data types and arraysFrom here it gets concrete: the building blocks that all PHP code works with.
  5. Functions and classes in PHPHow building blocks become something reusable.
  6. What is object-oriented programming?The idea behind classes — and where it reaches its limits.
  7. Namespaces and autoloadingHow many classes coexist without name conflicts.
  8. ComposerThe tool that manages third-party code and finds the classes.

Planning an application in PHP?

For an initial conversation, a description of your task and the most important processes is enough.