← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — PHP educational data only
| |
Last 30 days
29 pings — 2026-05-26 T 135 pings — 2026-05-27 W 264 pings — 2026-05-28 T 48 pings — 2026-05-29 F 136 pings — 2026-05-30 S 105 pings — 2026-05-31 S 107 pings — 2026-06-01 M 48 pings — 2026-06-02 T 122 pings — 2026-06-03 W 272 pings — 2026-06-04 T 359 pings — 2026-06-05 F 299 pings — 2026-06-06 S 536 pings — 2026-06-07 S 420 pings — 2026-06-08 M 244 pings — 2026-06-09 T 158 pings — 2026-06-10 W 93 pings — 2026-06-11 T 214 pings — 2026-06-12 F 104 pings — 2026-06-13 S 26 pings — 2026-06-14 S 75 pings — 2026-06-15 M 88 pings — 2026-06-16 T 109 pings — 2026-06-17 W 63 pings — 2026-06-18 T 70 pings — 2026-06-19 F 76 pings — 2026-06-20 S 159 pings — 2026-06-21 S 117 pings — 2026-06-22 M 117 pings — Yesterday T 18 pings — Today W
Claude 16SEMrush 1Bing 1
PetalBot 77SEMrush 13Google 7ChatGPT 6Perplexity 4Bing 4Ahrefs 4Sogou 2
ChatGPT 2.4kAmazonbot 2.1kScrapy 2kPerplexity 1.6kGoogle 1.1kAhrefs 1kSEMrush 744Unknown AI 589Claude 366Meta AI 312Bing 287PetalBot 258Majestic 126Sogou 43Qwen 28DuckDuckGo 7Common Crawl 7ShapBot 4NotebookLM 4Brave Search 2
crawler 11.9k crawler_json 913 rag 1 pre-tracking 192
Category total13k pings Terms pinged271 / 271 Distinct agents19
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
Iterating Objects with foreach (Iterator & IteratorAggregate) PHP 5.5+ 🧠 3
foreach can traverse any object implementing Iterator or IteratorAggregate, not just arrays — control iteration without exposing internal state.
1w ago PHP intermediate
HTTP Cookies in PHP PHP 7.3+ 🧠 3
Cookies are small key-value pairs sent by the server via Set-Cookie and echoed back by the browser on every request — PHP sets them with setcookie() before any output, with Secure, HttpOnly, and SameSite flags controlling safety.
3mo ago PHP beginner
MySQL charset=utf8mb4 PHP 5.1+
The correct MySQL character set for full Unicode support — including emoji and supplementary characters that the older utf8 charset cannot store.
3mo ago PHP beginner
MySQL Connection Pooling PHP 5.1+ 🧠 1
Reusing database connections across requests instead of opening and closing a new connection on every request.
3mo ago PHP intermediate
MySQL DSN (Data Source Name) PHP 5.1+
The connection string passed to PDO specifying the database driver, host, port, database name, and charset.
3mo ago PHP beginner
PDO Error Handling PHP 5.1+
PDO has three error modes — silent, warning, and exception — controlling how database errors surface.
3mo ago PHP beginner
PDO Fetch Modes PHP 5.1+
Constants controlling how PDO returns rows — as arrays, objects, or custom classes.
3mo ago PHP beginner
PDO lastInsertId() PHP 5.1+
Returns the auto-increment ID generated by the most recent INSERT statement.
3mo ago PHP beginner
PDO Named Placeholders PHP 5.1+
Named parameters (:name) in prepared statements — more readable than positional ? placeholders for queries with multiple parameters.
3mo ago PHP beginner
PDO query() vs prepare() PHP 5.1+
PDO query() executes raw SQL immediately — prepare() parameterises it. query() must never include user-controlled values.
CWE-89 OWASP A3:2021
3mo ago PHP beginner 9.8
Diagram: PDO Transactions PDO Transactions PHP 5.1+
PDO wraps multiple queries in an atomic unit — either all succeed or all roll back.
3mo ago PHP intermediate
PDO::ATTR_EMULATE_PREPARES PHP 5.1+
Controls whether PDO sends real prepared statements to the database or emulates them client-side in PHP.
CWE-89 OWASP A3:2021
3mo ago PHP intermediate
PDOStatement::bindParam() vs bindValue() PHP 5.1+
Two PDO methods for binding variables to placeholders — bindParam() binds by reference (evaluated at execute), bindValue() binds by value (evaluated immediately).
3mo ago PHP intermediate
PDOStatement::rowCount() PHP 5.1+
Returns the number of rows affected by the last DELETE, INSERT, or UPDATE — unreliable for SELECT.
3mo ago PHP beginner
PHP Generators PHP 5.5+ 🧠 1
Functions using yield that produce values lazily — one at a time — instead of building a complete array in memory.
3mo ago PHP intermediate
Diagram: PHP Fibers — Internals & Scheduler Patterns PHP Fibers — Internals & Scheduler Patterns PHP 8.1+
How PHP Fibers work under the hood — stack allocation, suspension mechanics, and how to build a cooperative multitasking scheduler on top of the Fiber API introduced in PHP 8.1.
3mo ago PHP advanced
#[Override] Attribute (PHP 8.3) PHP 8.3+
The #[Override] attribute tells PHP (and static analysers) that a method is intentionally overriding a parent class or interface method — if no such method exists in a parent, PHP throws an error at class load time.
3mo ago PHP intermediate
Abstract readonly Properties PHP 8.4+
PHP 8.4 allows abstract readonly properties in abstract classes and interfaces — defining that implementations must provide a readonly property of a specific type.
3mo ago PHP advanced
Anonymous Functions / Closures (PHP 5.3) PHP 5.3+ 🧠 1
PHP 5.3 introduced anonymous functions (closures) — function() {} expressions assignable to variables, passable as callbacks, and able to capture outer scope with use().
3mo ago PHP intermediate
array_column() — Plucking Values from Arrays PHP 5.5+
array_column() extracts a single column from a multi-dimensional array or array of objects — the idiomatic PHP replacement for foreach loops that build lookup arrays, and for creating ID-indexed maps.
3mo ago PHP beginner
✓ schema.org compliant