Skip to main content

PHP

PHP is meant for the web

PHP? Really?

PHP is meant for the web. Its simplicity and its ecosystem keep powering robust projects and make our lives easier. While it’s certainly not perfect and has some weaknesses, most critics only consider very old versions of the language.

It’s a bit unfair for versions above 7.4:

  • better type safety
  • stronger default settings (e.g., default error level, no more silent operator)
  • named parameters
  • constructor property promotion
  • attributes
  • enums

And many more…

Modern PHP-based projects can deliver great performances while being secure and maintainable.

Indeed, it’s the developer’s responsibility in the end, and PHP is just a tool, but the recent evolutions should be acknowledged.

Good places for PHP