Tag: php
🤖 AI Guestbook — #php educational data only
|
|
Last 30 days
Agents 154
Ahrefs 48Scrapy 24Google 22Common Crawl 18ChatGPT 15SEMrush 8Sogou 8Twitter/X 6Bing 3Perplexity 2
Scrapy 188Ahrefs 35SEMrush 25Google 13Perplexity 12ChatGPT 11Claude 6Bing 6Qwen 3Sogou 1
ChatGPT 4.7kAmazonbot 4kScrapy 3.6kPerplexity 2.9kGoogle 1.7kAhrefs 1.5kSEMrush 1kUnknown AI 977Claude 608Meta AI 501Bing 394Majestic 187Qwen 34Sogou 32Common Crawl 18DuckDuckGo 7Twitter/X 6You.com 2NotebookLM 2PetalBot 1
Most referenced — #php
Long Polling vs SSE vs WebSockets 3Deprecation Notices & Migration Strategy 3Test-Driven Development (TDD) 3Exception Handling (try/catch/finally) 3Interfaces 3Psalm Type Annotations 3include vs require vs *_once 2DNF Types (PHP 8.2) 2
How they use it
crawler 20.4k
crawler_json 1.5k
rag 1
pre-tracking 284
Tag total22.2k pings
Terms pinged463 / 463
Distinct agents19
Symbol Table Resolution
PHP 5.3+
The compiler phase that maps identifiers (variables, functions, classes) to their declarations, scopes, and types during semantic analysis.
6d ago
compiler advanced
Regex Escape Sequences
PHP 4.1+
Backslash sequences in regex that either match special characters literally or represent character classes, anchors, and control characters.
7d ago
regex intermediate
Regex Conditional Patterns
PHP 4.0+
1
Conditional regex constructs like (?(1)yes|no) match different subpatterns depending on whether an earlier group captured.
1w 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.
3w ago
style beginner
Regex Branch Reset Groups
1
A PCRE-specific construct (?|...) that resets capture group numbers across each alternative, so all branches share the same group indices.
1mo 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.
1mo ago
performance intermediate
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.
2mo 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
2mo ago
security advanced
INSERT ... ON DUPLICATE KEY UPDATE
PHP 5.1+
An atomic MySQL upsert — inserts a new row or updates the existing one if a unique key constraint would be violated.
2mo 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
2mo 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.
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
A performance anti-pattern where fetching N records triggers N additional queries — one per record — instead of a single JOIN.
2mo ago
database intermediate
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
PDO wraps multiple queries in an atomic unit — either all succeed or all roll back.
2mo ago
php intermediate