← CodeClarityLab Home
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
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
Undefined Array Key / Offset Errors PHP 4.0+
Accessing a non-existent array key triggers E_WARNING (PHP 7) or is silently null (PHP 8 with nullsafe) — use isset(), array_key_exists(), or ?? to guard access.
2mo ago php beginner
Undefined Variable and Null Coalescing Fixes PHP 5.0+
Accessing an undefined variable in PHP returns null and triggers an E_WARNING — use isset(), empty(), or ?? to check safely before use.
2mo ago php beginner
undefined vs null — Subtle Differences ES5
undefined means 'not yet assigned' (declared but empty); null means 'intentionally absent' — they're different values but both falsy, and typeof null === 'object' is a famous JS bug.
2mo ago javascript beginner
Unhandled Promise Rejection ES2015
An unhandled Promise rejection occurs when a rejected Promise has no .catch() or try/catch handler — Node.js 15+ terminates the process on unhandled rejection by default.
2mo ago javascript intermediate
URL & URLSearchParams API ES2015
URL and URLSearchParams provide structured URL parsing and query string building — the JavaScript equivalent of PHP's parse_url and http_build_query.
2mo ago javascript beginner
Unicode & Multibyte Regex PHP 5.3+
The u flag enables UTF-8 mode and \p{} Unicode property classes — essential for correctly matching text in any language.
2mo ago regex intermediate
Unreachable Code PHP 5.0+
Code that can never execute because it follows a return, throw, exit, or an always-true condition — a sign of logic errors or forgotten cleanup.
2mo ago quality beginner
Unused Function PHP 7.0+
A function or method that is defined but never called — dead code that increases maintenance burden and confuses readers about what is part of the active API.
2mo ago quality beginner
Unused Variable PHP 5.0+
A variable that is assigned but never read — indicating a logic error, incomplete refactoring, or unnecessary computation.
2mo ago quality beginner
Uptime Monitoring PHP 5.0+
Continuously checking that your application is reachable and responding correctly — synthetic monitoring (scripted checks from external locations) vs real user monitoring (RUM from actual traffic).
2mo ago observability intermediate
Ubiquitous Language (DDD)
A shared vocabulary between developers and domain experts, used consistently in code, tests, documentation, and conversation.
2mo ago architecture intermediate
Unicode Fundamentals PHP 5.0+
Unicode assigns every character a code point — UTF-8 encodes these as 1-4 bytes, making it the universal encoding for text on the web.
2mo ago i18n intermediate
Unicode Normalisation Attack PHP 5.3+
Exploiting differences in Unicode normalisation forms to bypass input filters — two visually identical strings that differ at the byte level.
CWE-176 OWASP A3:2021
2mo ago security advanced 5.3
Union Types (PHP 8.0) PHP 8.0+
Allow a parameter, return value, or property to accept multiple specified types, declared as TypeA|TypeB.
2mo ago php intermediate
Unit of Work
A pattern that tracks all changes made to domain objects during a business transaction and coordinates writing them out as a single atomic database operation.
2mo ago quality advanced
Unit Testing PHP 5.0+
Automated tests that verify individual units of code (classes, methods) in isolation from external dependencies.
2mo ago testing beginner
UPSERT PHP 5.0+
An atomic INSERT-or-UPDATE operation — inserts the row if it does not exist, updates it if it does — eliminating the race condition of a separate check-then-insert.
2mo ago database intermediate
Diagram: Using AI APIs in PHP Using AI APIs in PHP PHP 8.0+
Integrating LLM APIs (OpenAI, Anthropic, Gemini) into PHP applications — for text generation, classification, extraction, and embedding-based search.
2mo ago ai_ml intermediate
UUID vs Auto-Increment IDs
UUIDs are globally unique identifiers that don't expose record counts or enable enumeration, at the cost of larger index size and random writes.
2mo ago general beginner
✓ schema.org compliant