Php terms
The engine behind the web's most-used server-side language
PHP powers an enormous portion of the web — from WordPress and Laravel to custom e-commerce platforms. This category covers the language internals, core functions, OOP features, type system, performance patterns, and PHP-specific quirks that every serious PHP developer should understand deeply. Whether you are writing procedural scripts or building full-stack applications with modern PHP 8.x features, these terms form the foundation.
DateTimeImmutable vs DateTime PHP 5.5+
DateTimeImmutable returns a new object for every modification — the original is never changed. DateTime modifies in place. Prefer DateTimeImmutable in all new code to avoid subtle bugs where shared date objects are accidentally mutated.
2mo ago
php beginner
Debugging PHP PHP 5.0+
Systematic techniques for finding and fixing PHP bugs — from var_dump and error logs to Xdebug step-debugging, with the guiding principle of narrowing down where incorrect behaviour first appears.
2mo ago
php beginner
DI Containers — PHP-DI, Symfony & Laravel Compared PHP 7.4+
A Dependency Injection container automates wiring of class dependencies — instead of manually constructing objects and their dependencies, the container reads type hints and builds the full object graph. PHP-DI, Symfony's DIC, and Laravel's service container are the main options.
2mo ago
php intermediate
DNF Types (PHP 8.2) PHP 8.2+
PHP 8.2 DNF (Disjunctive Normal Form) types allow unions of intersections — (Countable&Iterator)|null — combining PHP 8.1 intersection types with union types.
2mo ago
php advanced
DOMDocument & XPath in PHP PHP 5.0+
PHP's DOMDocument extension parses HTML and XML into a traversable tree. Combined with DOMXPath, you can query the document with XPath expressions — far more powerful than regex for extracting data from HTML.
2mo ago
php intermediate
Deprecation Notices & Migration Strategy PHP 5.0+
E_DEPRECATED warnings signal features removed in the next PHP major version — treating them as errors in CI prevents upgrade blockers from accumulating.
2mo ago
php intermediate
Division by Zero & DivisionByZeroError PHP 7.0+
PHP 7+ throws DivisionByZeroError for intdiv() and modulo with zero — but the / operator returns false or INF instead of throwing.
2mo ago
php beginner
Date / Time Functions PHP 5.5+
PHP's date/time API including DateTime, DateTimeImmutable, and DateTimeZone for safe, timezone-aware date handling.
2mo ago
php beginner
declare(strict_types=1) PHP 7.0+
Enables strict scalar type checking for function arguments and return values in a PHP file, preventing silent type coercion.
2mo ago
php intermediate
Dependency Inversion Principle (DIP) PHP 5.0+
High-level modules should not depend on low-level modules — both should depend on abstractions (interfaces), not on concrete implementations.
2mo ago
php intermediate
Deprecated & Removed PHP Functions PHP 5.0+
Functions removed or deprecated in modern PHP versions — using them triggers errors or silent failures in new runtimes.
2mo ago
php beginner
Disjunctive Normal Form Types (PHP 8.2) PHP 8.2+
DNF types combine intersection and union types with parentheses — (Countable&Iterator)|null — filling gaps in PHP 8.0/8.1's type system.
2mo ago
php advanced