← 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
Property Hooks (PHP 8.4) PHP 8.0+
PHP 8.4 property hooks attach get and set logic directly to a property declaration — co-locating validation and transformation with the property itself.
3mo ago php advanced
Diagram: Pessimistic vs Optimistic Locking Pessimistic vs Optimistic Locking PHP 5.0+
Pessimistic locking acquires a database lock upfront preventing conflicts. Optimistic locking detects conflicts at write time using a version column — trading lock overhead for conflict detection.
3mo ago database advanced
PHAR Archives & Packaging PHP 5.2+
PHP's native archive format for self-contained distributable applications — like a JAR file for Java — with a bootstrap stub and compressed contents.
3mo ago php advanced
PHAR Deserialization Attack PHP 5.0+
PHP's phar:// stream wrapper triggers deserialization of PHAR metadata on any file operation, enabling PHP object injection without unserialize().
CWE-502 OWASP A8:2021
3mo ago security advanced 9.8
PHP FFI PHP 7.4+
Foreign Function Interface — allows PHP to call C library functions and use C data structures directly, enabling integration with native libraries without writing a PHP extension.
3mo ago php advanced
PHP JIT — When It Helps (and When It Doesn't) PHP 8.0+ 🧠 1
PHP 8.0's JIT compiler converts hot bytecode to native machine code — significant for CPU-bound code, but minimal for typical I/O-bound web requests.
3mo ago performance advanced
PHP Object Injection PHP 5.0+
Passing attacker-controlled data to unserialize() triggers magic methods on existing classes, enabling code execution, file deletion, or SSRF.
CWE-502 OWASP A8:2021
3mo ago security advanced 9.8
Diagram: PHP Preloading (opcache.preload) PHP Preloading (opcache.preload) PHP 7.4+
Loading PHP files into shared memory at server start so every worker process gets pre-compiled bytecode with zero per-request filesystem overhead.
3mo ago php advanced
PHP Preloading — Performance Impact PHP 7.4+
Quantifying preloading gains: most benefit on large frameworks (5–15%), negligible on tiny apps — how to measure and tune opcache.preload.
3mo ago performance advanced
PHP Stream Wrappers PHP 5.0+
PHP's I/O abstraction layer — built-in wrappers like file://, php://, phar://, and http:// let file functions operate over any protocol.
3mo ago php advanced
Diagram: Prometheus & Grafana Prometheus & Grafana PHP 7.0+
Prometheus scrapes and stores time-series metrics; Grafana visualises them — together they provide open-source metrics monitoring and alerting for any application.
3mo ago observability advanced
Property-Based Testing PHP 7.0+
A testing approach that generates hundreds of random inputs to verify that a property (invariant) holds for all of them — finding edge cases that example-based tests miss.
3mo ago testing advanced
Prototype Pollution ES5
An attacker injects properties into JavaScript's Object.prototype, affecting all objects in the application.
CWE-1321 OWASP A3:2021
3mo ago security advanced 8.1
Proxy & Reflect API ES2015
Proxy wraps an object and intercepts fundamental operations (get, set, delete) via handler traps — Reflect provides the default implementations of those operations.
3mo ago javascript advanced
Public Key Infrastructure (PKI) 🧠 1
The system of certificate authorities, certificates, and protocols that establishes trust in public keys — enabling HTTPS, code signing, and email encryption at internet scale.
3mo ago cryptography advanced
Property Hooks (PHP 8.4) PHP 8.4+
PHP 8.4 property hooks attach get/set logic directly to a property declaration — eliminating getter/setter method boilerplate for common validation and transformation patterns.
php advanced
✓ schema.org compliant