~/talk

Typing in PHP: how does it work?

TalkinFrenchat Forum PHP 2022 · 2022-10-13..10-14· [php, typescript]
links:none on file
slides:none on file

Explains how PHP's type system works, covering type declarations, type checking, and behavior of scalar, class and nullable types in PHP. Describes language features like type hints, return types, coercive vs strict typing modes, and how the engine enforces or converts types during execution.

AI-written summary · about

  1. 0:00Introduction
  2. 3:15Type terminology and symbols
  3. 10:03Available PHP types
  4. 14:18Inheritance and LSP
  5. 21:48Subtype checking
  6. 26:54PHP type system future
  7. 29:43Scalar type coercion
  8. 34:00Q&A
~/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.