← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Generators & yield (PHP 5.5) PHP 5.5+
Generators (PHP 5.5) use yield to produce values lazily — enabling memory-efficient iteration over large datasets without loading everything into memory.
3mo ago PHP intermediate
Global Function Style vs OOP Evolution PHP 4.0+
PHP 4's procedural global-function style evolved into PHP 5 OOP — understanding the transition explains why modern PHP has both paradigms and how to migrate legacy procedural code.
3mo ago PHP beginner
Greedy vs Lazy Quantifiers PHP 5.3+ 🧠 1
Greedy quantifiers (*, +, ?) match as much as possible; lazy quantifiers (*?, +?, ??) match as little as possible — the difference determines which text is captured when multiple matches are possible.
3mo ago Regex beginner
Guzzle HTTP Client PHP 7.2+
Guzzle is PHP's most popular HTTP client library — providing a clean API for making synchronous and asynchronous HTTP requests, handling middleware, retries, authentication, and multipart uploads, with PSR-7 and PSR-18 compliance.
3mo ago PHP intermediate
Generics Workarounds in PHP PHP 7.0+
PHPDoc @template annotations with PHPStan/Psalm provide compile-time type-safe generics with zero runtime cost — the standard approach for typed collections and repositories.
3mo ago PHP advanced
Git Hooks in PHP Workflow PHP 5.0+
Using pre-commit hooks to automatically run PHP-CS-Fixer, PHPStan, and security checks before every commit — preventing style violations and bugs from entering the repository.
3mo ago Style intermediate
Global Variable Abuse PHP 5.0+
Using global variables or the global keyword to share state between functions — making code unpredictable, untestable, and impossible to reason about.
3mo ago Code Quality intermediate
GraphQL Security PHP 7.0+
GraphQL's flexibility creates unique security challenges — introspection exposure, unbounded query depth, N+1 amplification, and injection through dynamic resolvers.
3mo ago Security advanced
Diagram: Garbage Collection Garbage Collection PHP 5.3+ 🧠 4
Automatic memory management that reclaims objects no longer reachable by the program — PHP uses reference counting with a cycle collector for circular references.
3mo ago Compiler advanced
Diagram: Generators & yield Generators & yield PHP 5.5+ 🧠 2
Generators allow iterating over large datasets lazily using yield, without loading everything into memory at once.
3mo ago PHP intermediate
Diagram: GitHub Actions for PHP GitHub Actions for PHP PHP 5.0+
Automating PHP CI/CD with GitHub Actions — running tests, static analysis, code style checks, and deployments on every push and pull request.
3mo ago DevOps intermediate
✓ schema.org compliant