Advanced terms
Memory Barriers & Visibility
1
Memory barriers (fences) force the CPU and compiler to complete memory operations in order — ensuring changes made by one thread are visible to others at the right time.
2mo ago
concurrency advanced
Null Byte in File Paths (Legacy PHP)
PHP 3.0+
Null bytes (%00) in file paths truncated strings at the C level in PHP < 5.3.4 — PHP 5.3.4+ throws a warning, PHP 7 throws ValueError for NUL in paths.
2mo ago
security advanced
Offline-First Design
1
An architectural approach where applications are designed to work fully without a network connection by default, treating connectivity as an enhancement rather than a requirement.
2mo ago
mobile advanced
OPcache Preloading (PHP 7.4)
PHP 7.4+
OPcache preloading (PHP 7.4) compiles PHP files into shared memory at server start — eliminating per-request compilation of framework core files for significant performance gains.
2mo ago
php advanced
PCNTL Signals in CLI PHP
PHP 7.1+
The PCNTL extension lets CLI PHP scripts handle OS signals (SIGTERM, SIGINT, SIGUSR1) — enabling graceful shutdown and hot reload in long-running daemons.
2mo ago
php advanced
PHP Garbage Collection Internals (Cycle Collector)
PHP 5.3+
PHP uses reference counting as its primary memory management strategy — when a value's reference count drops to zero it is freed immediately. A secondary cycle collector handles circular references that reference counting alone cannot free.
2mo ago
php advanced
PHP Memory Model — Zval & Copy-on-Write
PHP 7.0+
PHP stores every value in a zval (Zend value) container that holds the type, value, and a reference count. Arrays and strings are copied lazily — the copy only happens when one copy is modified (copy-on-write), making passing large values cheap until mutation.
2mo ago
php advanced
PHP Sodium Extension (Libsodium)
PHP 7.2+
The Sodium extension (bundled since PHP 7.2) provides modern, misuse-resistant cryptography via the libsodium C library — covering authenticated encryption, key exchange, password hashing with Argon2, and digital signatures with a simple, safe API.
2mo ago
php advanced
Prompt Injection Attacks (LLM Security)
An attack where malicious instructions embedded in user input or retrieved content override an LLM's system prompt — causing it to ignore its instructions, reveal confidential information, or take unintended actions.
2mo ago
security advanced
Property Hooks (PHP 8.4)
PHP 8.4+
PHP 8.4 property hooks add get and set accessors directly to property declarations — eliminating the need for explicit getter/setter methods on simple value objects.
2mo ago
php advanced
Raft Consensus Algorithm
A consensus algorithm designed to be understandable — Raft elects a leader who coordinates all writes, replicates log entries to followers, and ensures that committed entries are never lost even when servers fail.
2mo ago
architecture advanced
Saga Pattern
The Saga pattern manages distributed transactions across services using a sequence of local transactions — each step publishes an event, and compensating transactions undo completed steps on failure.
2mo ago
messaging advanced
Scheduler API (scheduler.postTask)
ES2021
The Scheduler API (scheduler.postTask) lets you prioritise async tasks — user-blocking, user-visible, or background — giving the browser hints to schedule work optimally.
2mo ago
javascript advanced
Socket Programming with PHP
PHP 5.0+
PHP supports raw socket programming via the Sockets extension (socket_create) and stream sockets (stream_socket_client) — used for custom protocols, WebSocket servers, and network tools.
2mo ago
php advanced
Streams API — ReadableStream & WritableStream
HTML5
The Streams API provides composable, backpressure-aware data pipelines in the browser — processing large responses, files, or media chunk by chunk without buffering everything in memory.
2mo ago
javascript advanced
Swoole & Async PHP
PHP 7.4+
Swoole is a PHP extension providing a coroutine-based async runtime — enabling non-blocking I/O, connection pools, and WebSocket servers without Node.js or external message brokers.
2mo ago
concurrency advanced
Transactional Outbox Pattern
The Outbox pattern atomically saves domain events to an 'outbox' DB table in the same transaction as business data — a relay then publishes to the message broker, preventing lost events.
2mo ago
messaging advanced
using & await using (TS 5.2 Explicit Resource Management)
5.2
TypeScript 5.2 using keyword automatically disposes resources (DB connections, file handles) when they go out of scope — like C# using or Python with.
2mo ago
typescript advanced
Vector Clocks — Distributed Causality
A vector clock is a data structure — one counter per node — that tracks causal ordering of events across distributed nodes without a shared clock, enabling detection of concurrent events and causal relationships.
2mo ago
architecture advanced
Write-Ahead Log (WAL)
A durability technique where changes are written to an append-only log before being applied to the database — if the system crashes, the log is replayed to restore the database to a consistent state.
2mo ago
database advanced