Skip to content

Describer: checked method existence#611

Open
vrana wants to merge 16 commits intonette:masterfrom
vrana:exception
Open

Describer: checked method existence#611
vrana wants to merge 16 commits intonette:masterfrom
vrana:exception

Conversation

@vrana
Copy link
Copy Markdown
Member

@vrana vrana commented Jan 27, 2026

  • bug fix
  • BC break? no
  • doc PR: n/a

I couldn't pinpoint the exact configuration (my PHP version is 8.4.16) but under some conditions, an exception thrown inside an exception handler kills PHP-FPM in the most brutal way with no errors logged or printed anywhere. Debugging this was a nightmare. A simple check for function existence fixes the problem.

@dg
Copy link
Copy Markdown
Member

dg commented Feb 8, 2026

thanks

dg pushed a commit that referenced this pull request Feb 8, 2026
Prevents exception inside exception handler that could kill PHP-FPM silently
@dg dg force-pushed the master branch 2 times, most recently from be881cd to db11685 Compare February 8, 2026 00:56
dg pushed a commit that referenced this pull request Feb 8, 2026
Prevents exception inside exception handler that could kill PHP-FPM silently
dg pushed a commit that referenced this pull request Feb 8, 2026
Prevents exception inside exception handler that could kill PHP-FPM silently
@dg dg force-pushed the master branch 2 times, most recently from bee1f04 to 7ffe057 Compare February 8, 2026 01:42
dg pushed a commit that referenced this pull request Feb 8, 2026
Prevents exception inside exception handler that could kill PHP-FPM silently
@dg dg force-pushed the master branch 2 times, most recently from 9699205 to c2ab3e5 Compare February 9, 2026 00:49
@dg
Copy link
Copy Markdown
Member

dg commented Apr 12, 2026

Hi Jakub, thanks for the patch! I'm a bit hesitant to merge a workaround for a bug I can't reproduce or fully understand — the check might just mask a deeper issue rather than fix the root cause. Could you share a minimal repro, or at least a stack trace showing which call it is and what kind of object is involved? That would help me figure out what's actually going wrong. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants