← 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
Regex Escape Sequences PHP 4.1+
Backslash sequences in regex that either match special characters literally or represent character classes, anchors, and control characters.
3w ago Regex intermediate
Regex Conditional Patterns PHP 4.0+ 🧠 1
Conditional regex constructs like (?(1)yes|no) match different subpatterns depending on whether an earlier group captured.
3w ago Regex advanced
Regex Branch Reset Groups 🧠 1
A PCRE-specific construct (?|...) that resets capture group numbers across each alternative, so all branches share the same group indices.
2mo ago Regex advanced
RabbitMQ Fundamentals PHP 7.0+
A message broker implementing the AMQP protocol — producers publish to exchanges, exchanges route messages to queues via bindings, and consumers pull from queues — providing flexible routing, acknowledgements, and dead-letter handling.
3mo ago Messaging intermediate
readonly Classes (PHP 8.2) PHP 8.2+
PHP 8.2 readonly classes make all promoted properties readonly automatically — the cleanest way to define immutable value objects and DTOs.
3mo ago PHP beginner
readonly Properties (PHP 8.1) PHP 8.1+
PHP 8.1 readonly properties can only be written once (in the constructor) — enforcing immutability without verbose accessor boilerplate.
3mo ago PHP beginner
Redis PHP 7.0+
An in-memory key-value data store used in PHP applications for caching, session storage, queues, rate limiting, and pub/sub — providing sub-millisecond data access compared to database queries.
3mo ago Performance beginner
Regex Flags (i, g, m, s, x, u) PHP 5.3+
Modifiers appended to a regex pattern that change matching behaviour — case-insensitivity, multiline mode, dotall mode, extended whitespace, and Unicode awareness.
3mo ago Regex beginner
register_globals Era & Why It Was Dangerous PHP 3.0+
PHP 4 shipped with register_globals=On by default — injecting GET/POST/COOKIE values as global variables, making PHP synonymous with insecurity until it was off-by-default in PHP 4.2.
3mo ago PHP intermediate
Return Type Declarations (PHP 7.0) PHP 7.0+
PHP 7.0 return type declarations (:int, :string, :void, :static, :never) enable functions to declare what they return — making return contract violations detectable at runtime and by static analysis.
3mo ago PHP beginner
Role-Based Access Control (RBAC) 🧠 3
An authorisation model where permissions are assigned to roles, and roles are assigned to users — checking 'can this role perform this action?' rather than 'can this specific user?'
3mo ago Security intermediate
register_globals Risk & Legacy Code PHP 3.0+
register_globals automatically created PHP variables from GET/POST/COOKIE data — removed in PHP 5.4. Legacy code using it is critically vulnerable to variable injection.
3mo ago Security intermediate
Regex Flags & Modifiers PHP 5.3+ 🧠 4
PCRE modifiers in PHP — i (case-insensitive), m (multiline), s (dotall), x (verbose), u (Unicode) — and their inline equivalents (?imsx).
3mo ago Regex intermediate
Removed PHP Function PHP 7.0+ 🧠 2
Calling a function removed in a newer PHP version — causes a fatal error on upgrade and blocks modernisation of the PHP runtime.
3mo ago PHP intermediate
RoadRunner — Persistent PHP Worker PHP 8.0+
Go-based server keeping PHP workers alive between requests — eliminating per-request bootstrap cost.
3mo ago Performance advanced
Diagram: RabbitMQ RabbitMQ PHP 7.0+
A message broker implementing AMQP — producers publish to exchanges, exchanges route to queues, consumers pull from queues — providing durable, reliable message delivery.
3mo ago Messaging intermediate
random_bytes() PHP 7.0+ 🧠 1
Generates cryptographically secure random bytes from the OS entropy source — use for tokens, salts, and nonces.
3mo ago PHP intermediate
Readonly Classes (PHP 8.2) PHP 8.2+ 🧠 2
Marking an entire class readonly automatically makes all its declared properties readonly, simplifying immutable value object creation.
3mo ago PHP intermediate
Readonly Classes (PHP 8.2) PHP 8.2+
Marking an entire class readonly makes all its properties implicitly readonly — ideal for immutable value objects and DTOs with minimal boilerplate.
3mo ago PHP advanced
Readonly Properties (PHP 8.1) PHP 8.1+ 🧠 2
Properties declared with readonly can only be initialised once and then never modified, enforcing immutability at the language level.
3mo ago PHP intermediate
✓ schema.org compliant