Early previewThis guide is in development. Items tagged verify are still being checked against official docs.
nebx Learn
GitHub
Menu
Home/PHP/Use cases
PHP

PHP

Pragmatic server-side language that powers a large share of the web.

Paradigm
OOP, procedural, functional features
Typing
Dynamic with gradual typing (strict_types)
Memory
Reference counting + cycle collector
Runs
Zend Engine, bytecode + OPcache, optional JIT
Concurrency
Shared-nothing per request; Fibers (8.1)

Use cases

Where PHP is a strong choice.

Content sites and CMS

WordPress, Drupal, headless CMS back-ends.

E-commerce

Magento / Adobe Commerce, WooCommerce, Sylius.

Business web apps and APIs

Laravel and Symfony for rapid CRUD and admin systems.

Cheap, widely available hosting

Runs almost everywhere.

Think twice for

Long-running CPU-bound computation, desktop or mobile apps, and ML training.

Saved in this browser only. Part of From code to production (0/5).