← Theory library
PHP theory
Still running most of the web.
Easy
- 1. PHP Basics & SyntaxHow PHP scripts are structured.
- 2. Variables & ConstantsStoring and naming values.
- 3. Data TypesPHP's scalar and compound types.
- 4. StringsWorking with text.
- 5. ArraysIndexed and associative collections.
- 6. Array FunctionsManipulating arrays functionally.
- 7. Control StructuresBranching and looping.
- 8. FunctionsReusable blocks of logic.
- 9. SuperglobalsBuilt-in global arrays.
- 10. Classes & ObjectsBasic object orientation.
- 11. Constructors & PropertiesInitializing object state.
- 12. InheritanceExtending classes.
- 13. Visibility ModifiersControlling access to members.
- 14. InterfacesDefining contracts.
- 15. TraitsReusing method implementations.
- 16. Namespaces & AutoloadingOrganizing code at scale.
- 17. Composer & PackagesPHP's dependency manager.
- 18. ExceptionsHandling errors gracefully.
- 19. Type DeclarationsStrengthening function contracts.
- 20. JSON HandlingEncoding and decoding data.
Medium
- 21. EnumsType-safe fixed value sets.
- 22. Readonly PropertiesImmutable object state.
- 23. Match ExpressionsStrict, expressive branching.
- 24. AttributesStructured metadata for code.
- 25. Generators & yieldLazy iteration.
- 26. Closures & Arrow FunctionsAnonymous functions and scope capture.
- 27. PDO & Prepared StatementsSafe database access.
- 28. Sessions & CookiesMaintaining state across requests.
- 29. Password HashingStoring credentials safely.
- 30. Preventing SQL Injection & XSSCore web vulnerabilities.
- 31. CSRF ProtectionGuarding state-changing requests.
- 32. cURL & HTTP ClientsMaking outbound HTTP requests.
- 33. File I/OReading and writing files.
- 34. Regular ExpressionsPattern matching with PCRE.
- 35. Date & Time HandlingWorking with DateTime.
- 36. PHPUnit TestingAutomated testing in PHP.
- 37. PSR Standards & AutoloadingInteroperability conventions.
Hard
- 38. OPcache & PerformanceSpeeding up PHP execution.
- 39. JIT CompilationJust-in-time compiled PHP.
- 40. FibersCooperative multitasking primitives.
- 41. Async PHP (ReactPHP/Amp/Swoole)Non-blocking I/O in PHP.
- 42. Design Patterns in PHPStructuring larger applications.
- 43. Advanced Error Handling & Custom ExceptionsBuilding robust error hierarchies.
- 44. Reflection APIIntrospecting code at runtime.
- 45. Serialization & Magic MethodsCustomizing object behavior.
- 46. Building REST APIsDesigning HTTP endpoints in PHP.
- 47. Calling Blockchain JSON-RPC from PHPInteracting with Ethereum-style nodes.
- 48. Building a Composer PackagePublishing reusable PHP libraries.
- 49. Concurrency-Safe State & LockingAvoiding race conditions.
- 50. Capstone: Secure API Service ArchitecturePutting it all together.