← CodeClarityLab Home
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — PHP educational data only
| |
Last 30 days
10 pings — 2026-04-16 T 48 pings — 2026-04-17 F 68 pings — 2026-04-18 S 161 pings — 2026-04-19 S 52 pings — 2026-04-20 M 41 pings — 2026-04-21 T 42 pings — 2026-04-22 W 87 pings — 2026-04-23 T 104 pings — 2026-04-24 F 200 pings — 2026-04-25 S 117 pings — 2026-04-26 S 25 pings — 2026-04-27 M 15 pings — 2026-04-28 T 35 pings — 2026-04-29 W 181 pings — 2026-04-30 T 142 pings — 2026-05-01 F 141 pings — 2026-05-02 S 112 pings — 2026-05-03 S 30 pings — 2026-05-04 M 30 pings — 2026-05-05 T 38 pings — 2026-05-06 W 78 pings — 2026-05-07 T 106 pings — 2026-05-08 F 364 pings — 2026-05-09 S 149 pings — 2026-05-10 S 46 pings — 2026-05-11 M 29 pings — 2026-05-12 T 61 pings — 2026-05-13 W 57 pings — Yesterday T 16 pings — Today F
ChatGPT 4Amazonbot 1
ChatGPT 24Amazonbot 4Perplexity 4Google 3
Amazonbot 2.1kPerplexity 1.4kChatGPT 1.3kGoogle 715Unknown AI 576Ahrefs 468Claude 201SEMrush 185Meta AI 72Majestic 56Bing 46Qwen 8DuckDuckGo 3
crawler 6.6k crawler_json 347 rag 1 pre-tracking 192
Category total7.2k pings Terms pinged270 / 270 Distinct agents12
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
HTTP Cookies in PHP PHP 7.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.
1mo 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.
2mo ago php beginner
MySQL Connection Pooling PHP 5.1+
Reusing database connections across requests instead of opening and closing a new connection on every request.
2mo 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.
2mo ago php beginner
PDO Error Handling PHP 5.1+
PDO has three error modes — silent, warning, and exception — controlling how database errors surface.
2mo ago php beginner
PDO Fetch Modes PHP 5.1+
Constants controlling how PDO returns rows — as arrays, objects, or custom classes.
2mo ago php beginner
PDO lastInsertId() PHP 5.1+
Returns the auto-increment ID generated by the most recent INSERT statement.
2mo 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.
2mo 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
2mo 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.
2mo 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
2mo 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).
2mo ago php intermediate
PDOStatement::rowCount() PHP 5.1+
Returns the number of rows affected by the last DELETE, INSERT, or UPDATE — unreliable for SELECT.
2mo ago php beginner
PHP Generators PHP 5.5+
Functions using yield that produce values lazily — one at a time — instead of building a complete array in memory.
2mo 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.
2mo 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.
2mo 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.
2mo ago php advanced
Anonymous Functions / Closures (PHP 5.3) PHP 5.3+
PHP 5.3 introduced anonymous functions (closures) — function() {} expressions assignable to variables, passable as callbacks, and able to capture outer scope with use().
2mo 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.
2mo ago php beginner
array_find() / array_find_key() (PHP 8.4) PHP 8.4+
PHP 8.4 adds array_find() and array_find_key() — built-in functions that return the first element (or key) matching a callback predicate, replacing verbose foreach loops or array_filter() + reset() patterns.
2mo ago php beginner
✓ schema.org compliant