[php-src] PR #24393: Fix GH-24391: JIT: switch on constant null takes default instead of case 0
| From: | ndossche | Date: | Sat, 17 Oct 2026 22:53:02 +0000 |
| Subject: | [php-src] PR #24393: Fix GH-24391: JIT: switch on constant null takes default instead of case 0 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39526@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24393
Author: ndossche
There was simply a mismatch in how the VM and JIT handled the types. I reworked how the jump target
is chose, and hopefully made the code easier to understand in the process.
Interestingly, I already had a patch for this laying around, but never got to committing it...