Tag: php
🤖 AI Guestbook — #php educational data only
|
|
Last 30 days
Agents 403
Claude 384SEMrush 9PetalBot 7Bing 2ChatGPT 1
PetalBot 119SEMrush 20Google 17ChatGPT 13Bing 10Perplexity 7Ahrefs 5Sogou 2
ChatGPT 5kAmazonbot 4kScrapy 3.6kPerplexity 3kGoogle 2kAhrefs 1.8kSEMrush 1.4kUnknown AI 1kClaude 992Bing 575Meta AI 503PetalBot 434Majestic 229Sogou 77Qwen 45Common Crawl 18DuckDuckGo 10Yandex 9Twitter/X 6You.com 2ShapBot 2NotebookLM 2
Most referenced — #php
Local File Inclusion (LFI) 3Typeahead & Autocomplete 3Ports & Adapters (PHP Worked Example) 3PCRE in PHP 3PDO Named Placeholders 3Abstract Syntax Tree (AST) 2Long Polling vs SSE vs WebSockets 2WebSocket Protocol 2
How they use it
crawler 22.8k
crawler_json 1.6k
rag 1
pre-tracking 284
Tag total24.7k pings
Terms pinged464 / 464
Distinct agents21
Cardinality in Observability
PHP 7.0+
The number of unique combinations of label values in a metric — high cardinality (millions of unique label combinations) causes memory exhaustion in time-series databases and is the most common observability scaling problem.
3mo ago
Observability intermediate
Catastrophic Backtracking
PHP 5.3+
2
A regex engine failure mode where certain patterns combined with specific inputs cause exponential backtracking, making the match take seconds or minutes — a common denial-of-service vector called ReDoS.
3mo ago
Regex intermediate
Collation & Locale-Aware Sorting
PHP 7.0+
1
Locale-specific rules for ordering strings alphabetically — determining that ä sorts near a in German but after z in traditional Swedish, and that sorting must not rely on byte values for Unicode text.
3mo ago
i18n intermediate
CORS — Cross-Origin Resource Sharing
PHP 7.0+
A browser security mechanism that blocks JavaScript from making HTTP requests to a different origin — PHP APIs must send specific headers to allow cross-origin requests from permitted frontend origins.
3mo ago
Security intermediate
CQRS Pattern
PHP 7.0+
Command Query Responsibility Segregation — separating the write model (commands that change state) from the read model (queries that return data), allowing each to be optimised independently.
3mo ago
Messaging advanced
create_function() — The Dynamic Code Smell
PHP 4.0+
8
create_function() created anonymous functions from strings — deprecated PHP 7.2, removed PHP 8. It used eval() internally, risked code injection, and was always replaceable with proper closures.
3mo ago
PHP intermediate
Cross-Version Compatibility Testing
PHP 7.0+
Testing PHP code across multiple versions uses CI matrix builds, phpenv/phpbrew, Docker multi-version setups, and static analysis to catch compatibility issues before deployment.
3mo ago
PHP intermediate
Debugging PHP
PHP 5.0+
8
Systematic techniques for finding and fixing PHP bugs — from var_dump and error logs to Xdebug step-debugging, with the guiding principle of narrowing down where incorrect behaviour first appears.
3mo ago
PHP beginner
DI Containers — PHP-DI, Symfony & Laravel Compared
PHP 7.4+
A Dependency Injection container automates wiring of class dependencies — instead of manually constructing objects and their dependencies, the container reads type hints and builds the full object graph. PHP-DI, Symfony's DIC, and Laravel's service container are the main options.
3mo ago
PHP intermediate
DNF Types (PHP 8.2)
PHP 8.2+
PHP 8.2 DNF (Disjunctive Normal Form) types allow unions of intersections — (Countable&Iterator)|null — combining PHP 8.1 intersection types with union types.
3mo ago
PHP advanced
each() & list() — Deprecated Iteration
PHP 3.0+
each() was deprecated in PHP 7.2 and removed in PHP 8 — replace while(list($k,$v)=each($arr)) with foreach. list() itself is still valid as [] destructuring.
3mo ago
PHP beginner
Elasticsearch Fundamentals
PHP 7.0+
A distributed search and analytics engine built on Lucene — storing documents as JSON, indexing them automatically, and providing a REST API for full-text search, aggregations, and real-time analytics.
3mo ago
Search intermediate
Engine Exceptions — Error Hierarchy (PHP 7.0)
PHP 7.0+
PHP 7.0 made fatal engine errors catchable as Error subclasses — TypeError, ParseError, ArithmeticError, DivisionByZeroError — via the shared Throwable interface.
3mo ago
PHP intermediate
Enums — First-Class Enumerations (PHP 8.1)
PHP 8.1+
PHP 8.1 native enums replace class constant hacks — providing type-safe, enumerable, matchable values with optional backing values (: string or : int).
3mo ago
PHP intermediate
ereg() / eregi() — POSIX Regex Removed in PHP 7
PHP 3.0+
ereg() and eregi() were POSIX regex functions removed in PHP 7.0 — replace with preg_match() (PCRE) which is faster, more powerful, and the standard since PHP 4.
3mo ago
PHP beginner
Error Logging
PHP 4.0+
2
Recording application errors, exceptions, and diagnostic information to persistent storage — essential for diagnosing production issues where display_errors must be off and errors are invisible to users.
3mo ago
PHP beginner
Error Reporting & Display
PHP 4.0+
1
PHP's error_reporting level and display_errors directive control which errors are shown and where — development needs E_ALL with display on; production needs E_ALL with display off and logging on.
3mo ago
PHP beginner
Exception Handling Introduced (PHP 5)
PHP 5.0+
PHP 5 introduced try/catch/finally and the Exception class — replacing PHP 4's procedural error handling with structured exception-based patterns.
3mo ago
PHP beginner
FFI — Foreign Function Interface (PHP 7.4)
PHP 7.4+
PHP 7.4 FFI allows calling C functions and accessing C data structures directly from PHP — enabling Python-like ctypes integration for native libraries without writing C extensions.
3mo ago
PHP advanced
Fibers — Cooperative Concurrency (PHP 8.1)
PHP 8.1+
PHP 8.1 Fibers enable cooperative multitasking — suspending execution at yield points and resuming later — the foundation for async PHP frameworks without OS threads.
3mo ago
PHP advanced