[PHP 8.4] Tracing JIT wrong optimization for LazyProxy instances
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- backend, performance
Piste de recherche
Start by reading the linked PHP core issue #23628 and its patch, then run the existing regression tests mentioned there on PHP 8.4 with tracing JIT enabled. The report says those tests fail on PHP 8.4.27 and asks for the fix to be backported; done means the relevant tests pass on the 8.4 line with tracing JIT enabled. The issue does not name source files or tests, so finding the affected code will take familiarity with the PHP engine.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
The same issue described in https://github.com/php/php-src/issues/23628 exists on the 8.4 line. It doesn't apply to 8.3 and earlier since LazyProxy wasn't added yet. It doesn't appear that the fix was backported. I figured opening a new issue for the backport request was more likely to be seen than commenting on the already-closed one :)
The existing regression tests added in the patch fail on 8.4.27 (and I assume earlier) but if you need any additional information, I'm happy to provide it.
- PHP: 8.4.27 (cli), NTS, built Nov 5 2026, from docker-library/php
- Base image: php:8.4.27-fpm-alpine3.23 (Alpine 3.23.8, x86_64)
- JIT settings: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M, opcache.jit_hot_loop=64
- Extra extensions loaded: apcu and excimer. Excimer is worth naming because it hooks into the engine, though the A/B test showed JIT alone decides pass or fail.
PHP Version
PHP 8.4.27 (cli) (built: Nov 5 2026 19:02:58) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.4.27, Copyright (c) Zend Technologies
with Zend OPcache v8.4.27, Copyright (c), by Zend Technologies
Operating System
Alpine Linux 3.23.8 (official php alpine docker image)
- Langage dominant
- C
- Étoiles
- 41.8k
- Forks
- 8.5k
- Merge moyen
- 2 j 12 h
- PR mergées (30 j)
- 137
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de php/php-src
-
SNMP accepts malformed remote portsPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 2/5 Une demi-journée Accessibilité débutants 62/100
php/php-src#25137 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Bug Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
quoted_printable_encode() produces lines longer than 76 characters for bytes 0xF5 to 0xFFPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Bug Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
php/php-src#24196 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Feature Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
php/php-src#24183 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de php/php-src
Issues similaires
-
Research radar digest 2026-W46Ouverteresearch-radar
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
good first issue help wanted program
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
hffgzktbcc-blip/ounce-core#297 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
virtualsquare/picotcp#88 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour