~/talk

The Best of Strong Typing in PHP

TalkinFrenchat AFUP Day 2020 Tours · on Friday, 2020-07-03· [php, typescript]
slides:none on file

Explains how to get the benefits of strong typing in PHP by using PHP's native type declarations, return types, and strict_types, and by adopting complementary tools like static analyzers (e.g., PHPStan/Psalm) and type-aware libraries. Describes practical techniques and configurations to enforce and incrementally introduce stronger typing in existing PHP codebases.

AI-written summary · about

  1. 0:00Start
  2. 8:13CASE OF NULLABLE
  3. 10:19NULL OBJECT PATTERN CLASS
  4. 12:04CURRENT SITUATION
  5. 12:47PROJECT COVERAGE
  6. 15:06EVOLUTION OF A TYPE
  7. 15:32BETTER VALIDATION
  8. 16:35LESS VALIDATION
  9. 17:32CONSISTENCY
  10. 19:26SELF-CONSISTENCY
  11. 21:41ADOPTION OF STRONG TYPES
  12. 22:32AUTOMATIC DETECTION
  13. 25:56HARDER
  14. 27:14EVEN HARDER
  15. 27:52MULTIPLE TYPES
  16. 30:47INSUFFICIENT INTERFACES
  17. 31:34CLASSES, NOT INTERFACES
  18. 32:14INTERACTIONS OF
  19. 35:42FUNCTIONS (3)
  20. 38:41TYPING AND CLASSES
  21. 39:04FOSSILIZATION
  22. 39:39CLASS ORDER
  23. 41:38STATIC ANALYSIS TOOLS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.