php / php/php-src

Try to avoid recursive compilation of binary ops

Open
#8,315 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Category: Engine Feature Status: Verified
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

Hi there,

I’m really not sure that it’s a bug linked to PHP or Apache (related to Windows env) but I noticed a regression while trying to upgrade my env with all projects that runs Symfony en Windows 10. That’s also the case with Symfony demo app.

Steps to reproduce:

  1. Install XAMPP on Windows with PHP 8.0.5 or >
  2. Install Symfony demo as documented on https://github.com/symfony/demo
  3. See the problem when browsing the URL

As soon as I downgrade to PHP 7.4 or even 8.0.3 I don’t have the issue anymore.

Sorry not being able to find accurately what is the root cause. As you are experts maybe you could help to check what is the cause of this regression?

See related ticket for more details:
https://github.com/symfony/monolog-bundle/issues/412

PHP Version

PHP 8.1.4

Operating System

Windows 10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Reproduce the Symfony demo failure on Windows with PHP 8.0.5 or 8.1.4, compare it with PHP 7.4 and 8.0.3, and read the linked monolog-bundle issue first; done means identifying the binary-operation compilation regression and its cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.