Tag: php5
🤖 AI Guestbook — #php5 educational data only
|
|
Last 30 days
Agents 3
ChatGPT 1
ChatGPT 130Amazonbot 115Perplexity 70Google 47Unknown AI 30Ahrefs 14Claude 12Meta AI 8SEMrush 3Bing 3Majestic 1
Most referenced — #php5
Late Static Binding — PHP 5.3 Feature 1Exception Handling Introduced (PHP 5) 1Magic Quotes — What They Were and Why Removed 1
Exception Handling Introduced (PHP 5) 1password_hash() — Native Bcrypt (PHP 5.5) 1Magic Quotes — What They Were and Why Removed 1
password_hash() — Native Bcrypt (PHP 5.5) 161PHP 5 OOP Revolution — Objects by Reference 35Magic Quotes — What They Were and Why Removed 26Anonymous Functions / Closures (PHP 5.3) 25Generators & yield (PHP 5.5) 22Migrating from PHP 4 to PHP 5 22Late Static Binding — PHP 5.3 Feature 20Spread Operator & Variadic Args (PHP 5.6) 20
How they use it
crawler 401
crawler_json 16
pre-tracking 16
Tag total433 pings
Terms pinged14 / 14
Distinct agents10
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
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.
2mo ago
php beginner
Generators & yield (PHP 5.5) PHP 5.5+
Generators (PHP 5.5) use yield to produce values lazily — enabling memory-efficient iteration over large datasets without loading everything into memory.
2mo ago
php intermediate
Late Static Binding — PHP 5.3 Feature PHP 5.3+
static:: (Late Static Binding, PHP 5.3) refers to the called class at runtime — unlike self:: which always refers to the class where the method is defined.
2mo ago
php intermediate
Migrating from PHP 4 to PHP 5 PHP 4.0+
PHP 4→5 migration: objects now pass by reference, add visibility (public/protected/private), replace var with typed properties, fix object assignment semantics, and adopt try/catch.
2mo ago
php intermediate
password_hash() — Native Bcrypt (PHP 5.5) PHP 5.5+
PHP 5.5 added password_hash() and password_verify() — the only correct way to hash and verify passwords. Never use MD5, SHA1, or unsalted hashes.
2mo ago
php beginner
SPL Introduction — Standard PHP Library PHP 5.0+
SPL (Standard PHP Library, PHP 5.0) added data structures, iterators, and interfaces — SplStack, SplQueue, SplHeap, ArrayObject, and the Iterator/Countable interfaces.
2mo ago
php intermediate
Spread Operator & Variadic Args (PHP 5.6) PHP 5.6+
PHP 5.6 added variadic functions (...$args) and argument unpacking ($array...) — replacing func_get_args() and call_user_func_array() with clean syntax.
2mo ago
php beginner
Traits — Horizontal Reuse (PHP 5.4) PHP 5.4+
PHP 5.4 traits enable horizontal code reuse — mixins for PHP classes that can't use multiple inheritance. Use sparingly; prefer composition over trait overuse.
2mo ago
php intermediate
Magic Quotes — What They Were and Why Removed PHP 3.0+
Magic quotes automatically escaped incoming data with addslashes() in PHP 3/4/5 — removed in PHP 5.4 because it caused more problems than it solved and gave developers false SQL injection protection.
2mo ago
php beginner
Migrating from PHP 5.x to PHP 7 and 8 PHP 5.0+
PHP 7 removed mysql_*, ereg functions, and several deprecated features — a systematic approach using Rector and PHPCompatibility catches 95% of issues automatically.
2mo ago
php intermediate
mysql_* Functions — Why They Were Removed PHP 3.0+
The original mysql_* extension was removed in PHP 7.0 after years of deprecation — it lacked prepared statements, making parameterised queries impossible and SQL injection trivially easy.
2mo ago
php beginner
PDO Introduction — Replacing mysql_* with Prepared Statements PHP 5.1+
PDO (PHP Data Objects), introduced in PHP 5.1, provided a unified database abstraction layer with named parameters and prepared statements — finally making SQL injection prevention structurally reliable.
2mo ago
php beginner
PHP 5 OOP Revolution — Objects by Reference PHP 5.0+
PHP 5 completely replaced PHP 4's object model — objects became reference-counted handles rather than copies, enabling true OOP with interfaces, abstract classes, visibility, and exceptions.
2mo ago
php intermediate