← 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
Symbol Table Resolution PHP 5.3+
The compiler phase that maps identifiers (variables, functions, classes) to their declarations, scopes, and types during semantic analysis.
3w ago Compiler advanced
Safe Mode — What It Was & Why It Failed PHP 3.0+
PHP's safe_mode (PHP 3–5.3) attempted to restrict multi-user PHP hosting at the language level — it was removed in PHP 5.4 after being proven ineffective and breaking legitimate code.
3mo ago PHP intermediate
Scalar Type Declarations (PHP 7.0) PHP 7.0+
PHP 7.0 added int, float, string, bool type declarations for function parameters — the biggest type safety leap in PHP history, enabling static analysis.
3mo ago PHP beginner
Short Open Tags History & Why to Avoid PHP 3.0+
PHP's short tags (<? ?> and <?= ?>) have been problematic since PHP 3 — disabled by many hosting providers, conflicting with XML, and inconsistent across environments.
3mo ago PHP beginner
Socket Programming with PHP PHP 5.0+ 🧠 1
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.
3mo ago PHP advanced
SPL Introduction — Standard PHP Library PHP 5.0+
SPL (Standard PHP Library, PHP 5.0) added data structures, iterators, and interfaces — SplStack, SplQueue, SplHeap, ArrayObject, and the Iterator/Countable interfaces.
3mo ago PHP intermediate
Spread Operator & Variadic Args (PHP 5.6) PHP 5.6+
PHP 5.6 added variadic functions (...$args) and argument unpacking ($array...) — replacing func_get_args() and call_user_func_array() with clean syntax.
3mo ago PHP beginner
SQLite in Production PHP 5.1+ 🧠 3
SQLite is a serverless, file-based SQL database that is appropriate for production use in single-server applications, edge deployments, and embedded systems — with specific limitations around concurrent writes that make it unsuitable for multi-server setups.
3mo ago Database intermediate
Structured Output from LLMs (JSON Mode) PHP 8.0+
Instructing an LLM to return valid JSON rather than prose — either via a system prompt schema, a JSON mode API flag, or a tool-use response format — so the output can be reliably parsed and used programmatically.
3mo ago AI / ML intermediate
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.
3mo ago Concurrency advanced
Safe Mode Removal & Modern Alternatives PHP 4.0+
PHP's safe_mode was removed in PHP 5.4 — it provided false security. Modern alternatives are open_basedir, OS-level permissions, and containers.
3mo ago Security intermediate
Spread Operator in Arrays [...$a, ...$b] PHP 8.1+
PHP 8.1+ allows the spread operator ... inside array literals to merge arrays — cleaner than array_merge() for combining arrays inline.
3mo ago PHP beginner
Stack Overflow from Deep Recursion PHP 5.0+
PHP has no configurable stack size limit — deep recursion causes a fatal segfault or memory exhaustion, not a catchable exception.
3mo ago PHP intermediate
str_contains / str_starts_with / str_ends_with PHP 8.0+
PHP 8.0 added str_contains(), str_starts_with(), and str_ends_with() — replace strpos() !== false patterns with these readable alternatives.
3mo ago PHP beginner
Stream Filter Injection via php:// wrapper PHP 5.0+
PHP stream wrappers (php://filter, php://input) combined with user-controlled filenames enable LFI-to-RCE escalation — never allow user input in file paths.
3mo ago Security advanced
Search Indexing Pipeline PHP 7.0+
The process of transforming raw content into a searchable index — extraction, normalisation, tokenisation, stemming, and index writing with incremental update strategies.
3mo ago Search intermediate
Secure File Downloads PHP 5.0+
Preventing path traversal, unauthorised access, and content injection when serving file downloads — validating paths, checking authorisation, and setting correct headers.
3mo ago Security intermediate
Sensitive Data in Logs PHP 7.0+
Logging passwords, tokens, credit card numbers, or PII — log aggregators store data indefinitely and are often less secured than primary databases.
3mo ago Security intermediate
Short Open Tag (<?) PHP 5.0+
Using <? instead of <?php — short tags are disabled by default in many PHP configurations and conflict with XML processing instructions.
3mo ago PHP beginner
SPL Iterators In Depth PHP 5.1+
PHP's Standard PHP Library iterators — SplFileObject, DirectoryIterator, RecursiveIteratorIterator, FilterIterator, and LimitIterator — for memory-efficient file and data traversal.
3mo ago PHP intermediate
✓ schema.org compliant