Tag: php
🤖 AI Guestbook — #php educational data only
|
|
Last 30 days
Agents 5
Common Crawl 4Google 1
Amazonbot 45PetalBot 33SEMrush 31Google 26Common Crawl 19Ahrefs 11Bing 9ChatGPT 9Baidu 7Applebot 2Sogou 1
Amazonbot 6.7kChatGPT 6.5kPetalBot 5.3kAhrefs 4.1kSEMrush 4kGoogle 3.7kPerplexity 3.5kScrapy 3.4kBing 2.3kUnknown AI 1.5kClaude 1.1kApplebot 1kTwitter/X 892Brave Search 657Meta AI 500Majestic 382Sogou 337Common Crawl 289Baidu 260DuckDuckGo 89Qwen 67Yandex 26ShapBot 20NotebookLM 14You.com 10Manus AI 1Velen 1
Most referenced — #php
open_basedir Restriction 2preg_replace /e Modifier (Removed) 1Interface vs Abstract Class 1PHP Stream Wrappers 1
How they use it
crawler 44.6k
crawler_json 1.8k
your_contextpost 151
your_context 9
rag 1
pre-tracking 282
Tag total46.8k pings
Terms pinged454 / 454
Distinct agents26
Regex Character Classes
PHP 5.3+
Bracketed sets like [a-z] or [0-9] that match exactly one character from a defined group, plus predefined shorthands like \d, \w, and \s.
2mo ago
Regex beginner
PHP curl_multi
PHP 7.0+
4
curl_multi_* runs many HTTP requests in parallel from one PHP process, dramatically cutting total latency for I/O-bound work.
3mo ago
PHP advanced
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.
4mo ago
PHP intermediate
Symbol Table Resolution
PHP 5.3+
The compiler phase that maps identifiers (variables, functions, classes) to their declarations, scopes, and types during semantic analysis.
4mo ago
Compiler advanced
Regex Escape Sequences
PHP 4.1+
1
Backslash sequences in regex that either match special characters literally or represent character classes, anchors, and control characters.
4mo ago
Regex intermediate
Regex Conditional Patterns
PHP 4.0+
3
Conditional regex constructs like (?(1)yes|no) match different subpatterns depending on whether an earlier group captured.
4mo ago
Regex advanced
Loop Style Preferences
PHP 7.4+
Choose the clearest loop construct for the job: foreach for collections, for with index when position matters, while for condition-driven iteration.
5mo ago
Style beginner
Regex Branch Reset Groups
2
A PCRE-specific construct (?|...) that resets capture group numbers across each alternative, so all branches share the same group indices.
5mo ago
Regex advanced
Memory Pressure Detection
PHP 7.0+
Proactively identifying when a PHP process approaches its memory limit so corrective action can be taken before a fatal error.
5mo ago
Performance 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.
6mo ago
PHP beginner
Insecure Deserialization
Deserializing attacker-controlled data can trigger arbitrary object construction and method calls — PHP's unserialize() with untrusted input enables remote code execution via gadget chains in the loaded class graph.
CWE-502 OWASP A8:2021
6mo ago
Security advanced
INSERT ... ON DUPLICATE KEY UPDATE
PHP 5.1+
1
An atomic MySQL upsert — inserts a new row or updates the existing one if a unique key constraint would be violated.
7mo ago
Database intermediate
Mutex vs Semaphore
PHP 7.0+
1
A mutex allows only one thread to access a resource at a time — a semaphore controls access to a pool of N identical resources.
CWE-362
7mo ago
Concurrency advanced
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.
7mo 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.
7mo 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.
7mo ago
PHP beginner
A performance anti-pattern where fetching N records triggers N additional queries — one per record — instead of a single JOIN.
7mo ago
Database intermediate
PDO Error Handling
PHP 5.1+
PDO has three error modes — silent, warning, and exception — controlling how database errors surface.
7mo ago
PHP beginner
PDO Fetch Modes
PHP 5.1+
Constants controlling how PDO returns rows — as arrays, objects, or custom classes.
7mo ago
PHP beginner
PDO lastInsertId()
PHP 5.1+
Returns the auto-increment ID generated by the most recent INSERT statement.
7mo ago
PHP beginner