Wrap awaitable calls in try/catch for ergonomic error handling.
Author: chris
Modern Fetch with async/await, response status check, and JSON parsing.
Minimal entry-point that boots Composer's autoloader.
Start a session, store a value, and read it on the next request.
rawurlencode is RFC 3986; urlencode uses the older application/x-www-form-urlencoded.
Hand-roll CLI parsing using \$argv when getopt is overkill.
Fire-and-forget mail via the built-in mail() — fine for low-volume.
Connect to MySQL with PDO and run a prepared SELECT.
Walk a tree with RecursiveDirectoryIterator + RecursiveIteratorIterator.
Sort with usort and a spaceship-operator comparator.