Visual Reference
PHP Mastery Guides
Deep-dive visual references for PHP developers. Core language, database patterns, and performance tuning — all in one place, up to date with PHP 8.4.
3 modules
100+ code examples
PHP 8.4 up to date
Core PHP
Types, OOP, closures, match expressions, enums, generators, and fibers. The complete language foundation.
Types
OOP
Traits
Enums
Generators
Fibers
Read guide →
Database
PDO, prepared statements, transactions, the N+1 problem, indexes, and query optimization patterns.
PDO
Prepared Stmts
Transactions
N+1
Indexes
Security
Read guide →
Performance
OPcache, Redis caching, profiling, memory management, async queues, and HTTP caching strategies.
OPcache
Redis
Profiling
Memory
Queues
HTTP Cache
Read guide →
PHP Version Timeline
7.4
EOL 2022
8.0
EOL 2023
8.1
EOL 2024
8.2
Security only
8.3
Active
8.4
Latest
Essential Built-ins Cheatsheet
array_map()
Transform every element
array_filter()
Keep matching elements
array_reduce()
Fold to single value
array_chunk()
Split into batches
str_contains()
Substring check (8.0+)
str_starts_with()
Prefix check (8.0+)
match()
Strict switch (8.0+)
nullsafe ?->
Null-safe chain (8.0+)
readonly
Immutable props (8.1+)
enum
Enumerations (8.1+)
Fiber
Cooperative MT (8.1+)
json_validate()
Validate JSON (8.3+)