~/talk

Debugging in PHP

Talkat WordCamp Asheville 2015 · 2015-07-25..07-26· [php, testing]
slides:none on file

Argues that interactive PHP debugging pays off and shows it: sets a breakpoint in a 2015 theme content template, steps into apply_filters, finds a closure injecting "bug" text, and fixes behavior by editing the runtime variable is_true to false — proving the root without changing code. Uses Xdebug + phpStorm for breakpoints and variable editing, recommends VVV with webgrind for profiling, notes git bisect for tracking bad commits and Navicat for inspecting MySQL queries.

AI-written summary · about

  1. 0:00Start
  2. 1:27Identify the Issue
  3. 4:21To Isolate the Issue
  4. 6:02Source of the Issue
  5. 8:33Interactive Debugging
  6. 9:59Var Dumps
  7. 12:39Benefits of Having Debugging in Phpstorm
  8. 12:58Set a Breakpoint
  9. 13:24View All the Variables
  10. 13:58Watch Variables and Functions
  11. 18:14Regression Test
  12. 18:55Live Demo
  13. 20:42Data Issue
  14. 23:37Call Stack
  15. 24:11Step into the Content Function
  16. 25:50Apply Filters
  17. 31:30Questions
  18. 40:55Default Wordpress Content
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.