php / php/php-src

gen_stub.php: consider dropping support for older PHP ABIs

Open
#16,112 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

#8931 updated the script so that it could generate arg_info for older versions of the PHP ABI. At the time, it supported 7.0, 8.0, 8.1, and 8.2.

Given that PHP 8.0 has reached EOL, I propose that we drop support for 7.0 or both 7.0 and 8.0, which would allow simplifying the generator script

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

Start by reading gen_stub.php and the changes from #8931 to identify how PHP 7.0, 8.0, 8.1, and 8.2 ABI support is handled. Determine whether to remove 7.0, both 7.0 and 8.0, or another obsolete path; done means the selected support is removed and the generator is simpler without breaking the remaining ABI versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.