~/talk

PHP: Particularly Horrible Programs

Talkat phpday 2025 · 2025-05-15..05-16· [php]
slides:none on file

Uploader reports ~600 commits by one contributor, ~700 PRs reviewed and 104 merges; live demos show surprising engine edges: GMP boolean fix in 8.4, objects and internal extensions can override boolean and comparison casts, numeric-string quirks like "0E9" == "0", float-to-string precision changing ordering, array_intersect casting arrays to the string "Array", range and str increment/decrement producing NaN or floats, disable_functions removes built‑ins so strlen can be redefined, declare disabled_classes can segfault and session_id can behave nonconstant.

AI-written summary · about

  1. 0:00PHP oddities intro
  2. 2:48Boolean casting quirks
  3. 6:28PHP comparison oddities
  4. 9:40String comparison surprises
  5. 13:11Array intersect casts
  6. 17:05Increment operator issues
  7. 21:24String increment madness
  8. 23:10Range function edge cases
  9. 28:51ArrayObject property issues
  10. 34:09Disabled classes instability
  11. 36:18Function disabling
  12. 37:21Strict types limits
  13. 42:07Class constants safety
  14. 44:12Non-constant constants
~/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.