~/talk

The La(te)st PHP 7 — What's new in PHP 7.4

Talkat PHP UK Conference 2020 · 2020-02-19..02-21· [php, typescript]
links:none on file
slides:none on file

PHP 7.4 adds typed properties with runtime initialization checks, allows covariant returns and contravariant arguments, introduces the Foreign Function Interface which is bundled but disabled and marked experimental (powerful but crashy and C‑knowledge required), adds preloading that yields about ≈10% speed in some setups, brings FFI + preload composition, weak references, new serialize/unserialize magic, a nil coalesce assignment and splat in array literals, stricter warnings and several removed extensions.

AI-written summary · about

  1. 0:00Intro
  2. 1:03Typed Properties
  3. 4:54Covariant Return Types
  4. 6:59Contravariant Argument Types
  5. 8:12Invariant Property Types
  6. 10:08Spread Operator in Array Expression
  7. 12:35FR -- Foreign Function Interface
  8. 20:23Preloading Zend Framework
  9. 23:04Reflection for references
  10. 25:26New custom object serialization mechanism
  11. 28:25Unbunding Extensions
  12. 31:34Episode 3: Weak References
  13. 34:21Episode 14 Short Arrow Functions
  14. 36:37Episode 110: LSP and Operator Precedence
  15. 42:39Episode 017: Numeric Literal Separator
  16. 45:24Episode 119: Deprecate curly brace syntax for accessing array elements and string offset
  17. 46:54Episode 122: PostGreSQL escape characters
~/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.