← 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
Named Entity Recognition
Detecting spans of text that name real-world entities and labeling each with a semantic type such as person, organization, or location.
6d ago Knowledge Engineering intermediate
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
2mo ago Security intermediate 8.8
Diagram: N+1 Query Problem N+1 Query Problem PHP 5.1+
A performance anti-pattern where fetching N records triggers N additional queries — one per record — instead of a single JOIN.
3mo ago Database intermediate
Named Arguments (PHP 8.0) PHP 8.0+
PHP 8.0 named arguments let you pass values by parameter name — skipping optional params, self-documenting calls, and enabling out-of-order argument passing.
3mo ago PHP beginner
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
Naming Test Methods (Given/When/Then) 🧠 4
Test method names should describe behaviour, not implementation — test_calculateTotal_givenDiscountedItems_returnsReducedPrice beats test_calculateTotal().
3mo ago Testing beginner
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
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.
3mo ago Security advanced
Null Coalescing ?? Operator (PHP 7.0) PHP 7.0+
PHP 7.0's ?? operator returns the left side if it exists and isn't null, otherwise the right — replacing isset($x) ? $x : $default with $x ?? $default.
3mo ago PHP beginner
Null Reference Errors PHP 5.0+
Errors caused by calling methods or accessing properties on null — PHP's 'Call to a member function X() on null' and JavaScript's 'Cannot read properties of null' are the most common runtime errors in both languages.
3mo ago PHP beginner
number_format() & money_format() PHP 4.0+
number_format() formats a number with grouped thousands and a specified number of decimal places — the correct way to display prices, statistics, and large integers in PHP. money_format() was deprecated in PHP 7.4 and removed in PHP 8.0.
3mo ago PHP beginner
Namespaces Introduced in PHP 5.3 PHP 5.3+
PHP 5.3 (2009) introduced namespaces with the namespace keyword and backslash separator — enabling PSR-4 autoloading and modern package management with Composer.
3mo ago PHP beginner
NaN — Detection & Avoiding Pitfalls ES2015
NaN is the only JavaScript value not equal to itself — use Number.isNaN() (not isNaN()) to detect it, as isNaN() coerces its argument first.
3mo ago JavaScript beginner
Nullish Coalescing (??) & Logical Assignment ES2020
?? returns the right side only when the left is null or undefined — unlike ||, it does not trigger on 0 or empty string. Parallel to PHP's null coalescing operator.
3mo ago JavaScript beginner
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
Native dialog Element HTML5
The HTML dialog element provides accessible modals and non-modal dialogs natively — with built-in focus trapping, backdrop rendering, and the Escape key — without JavaScript libraries.
3mo ago Frontend beginner
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
Null Coalescing Operator Not Used PHP 7.0+
Using isset() + ternary or if/else chains when the null coalescing operator (??) or null coalescing assignment (??=) would be cleaner and more idiomatic.
3mo ago Style beginner
✓ schema.org compliant