Intermediate terms
NoSQL Injection
PHP 5.4+
2
Attacker-controlled input embedded into NoSQL queries (MongoDB, Redis, Couchbase) that subverts query intent — bypassing auth, exfiltrating data, or executing server-side code.
CWE-943 OWASP A3:2021
1mo ago
security intermediate
8.8
A performance anti-pattern where fetching N records triggers N additional queries — one per record — instead of a single JOIN.
2mo ago
database intermediate
Named Arguments in Attributes
PHP 8.1+
PHP 8.1+ allows named arguments inside attribute constructors — #[Route(path: '/home', methods: ['GET'])] — making attribute usage self-documenting.
3mo ago
php intermediate
new in Initializers (PHP 8.4)
PHP 8.4+
PHP 8.4 allows 'new ClassName()' expressions in default parameter values, attribute arguments, and static property initialisers — removing the need for null defaults combined with late assignment in constructors.
3mo ago
php intermediate
Named Capture Groups
PHP 5.3+
1
(?P<n>pattern) in PHP/PCRE for self-documenting regex — accessing matches by name instead of positional index.
3mo ago
regex intermediate
NAT & Port Forwarding
NAT maps multiple private IPs to one public IP — understanding NAT explains why ngrok is needed for local webhook testing and how Docker port mapping works.
3mo ago
networking intermediate
Neural Networks — Conceptual Overview
Layers of connected neurons transforming input to output through learned weights — the foundation of deep learning and modern LLMs.
3mo ago
ai_ml intermediate
nginx + PHP-FPM Production Config
PHP 5.0+
The canonical nginx + PHP-FPM setup for PHP production — nginx handles static files and slow clients, PHP-FPM runs PHP via FastCGI, with proper timeout, buffer, and security settings.
3mo ago
devops intermediate
N+1 Problem in Doctrine & Eloquent
PHP 7.0+
Accidentally issuing one query per related entity instead of one JOIN — the most common ORM performance pitfall, solved by eager loading.
3mo ago
performance intermediate
Issuing one query per row of a result set instead of a single JOIN — the most common database performance mistake in any ORM-based application.
3mo ago
database intermediate
Named Arguments in Built-in PHP Functions
PHP 8.0+
PHP 8.0 named arguments work with built-in functions — enabling readable calls to functions with many optional parameters like array_slice().
3mo ago
php intermediate
Named Arguments with Spread Operator
PHP 8.1+
Combining PHP 8.0 named arguments with the ... spread operator to unpack associative arrays as named parameters.
3mo ago
php intermediate
Named Constructor Pattern
PHP 5.0+
Static factory methods with descriptive names that replace overloaded constructors — making object creation intent clear when multiple creation paths exist.
3mo ago
php intermediate
never Return Type (PHP 8.1)
PHP 8.1+
Declares that a function never returns normally — it always throws an exception or calls exit(), helping static analysers prove code paths.
3mo ago
php intermediate
never Return Type (PHP 8.1)
PHP 8.1+
Declaring a function's return type as never signals it always throws or exits — enabling static analysers to prune unreachable code branches.
3mo ago
php intermediate
Null Byte Injection
PHP 5.0+
Inserting a %00 null byte into a filename or string can truncate it at the C layer, bypassing extension checks.
CWE-626 OWASP A3:2021
3mo ago
security intermediate
7.5
Null Object Pattern
PHP 5.0+
Replace null with an object that implements the expected interface but performs no operation, eliminating null checks throughout the codebase.
3mo ago
quality intermediate
Null Safety — Null Object vs Optional
PHP 7.1+
Strategies for eliminating null reference errors: the Null Object Pattern provides a safe default; Optional-style wrapping makes nullability explicit.
3mo ago
quality intermediate
Nullsafe Operator Chaining (?->)
PHP 8.0+
PHP 8.0's ?-> short-circuits an entire method chain to null when any step returns null — eliminating nested null checks.
3mo ago
php intermediate
Executing one query to get N records, then N more queries to fetch related data — one per record.
3mo ago
performance intermediate