Debugging a segfault in PHP

debugging segfaults is not fun. My low key technique: place a printf(“made it here: %s, %s+ %sn”, __METHOD__, __LINE__, __FILE__); everywhere… put “DIE(‘something’);” to figure out the exact line that fails.  If dies, good.  move it further down.  If it […]