php / php/phd

Presentation of minimum version is not clear (PHP 8 >= 8.5.0)

Open
#250 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
91
Forks
59
PR merge metrics
No merged PRs in 30d

Description

Hi. It's really helpful to indicate in which version a feature was added, but I think the display could be improved.

Affected page

https://www.php.net/manual/en/function.array-first.php

Current issue

When I read the PHP version constraint, it's not clear what version support the new function (PHP 8 or 8.5.0).

Image Image
Suggested improvement

The presentation should be improved with a sentence like this:

Added in PHP 8.5.0

Additional context (optional)

PHP.watch only shows the version it was introduced:

Image

Contributor guide

No contributing guide indexed for this repository

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 from the affected PHP manual page for array_first.php and trace the version metadata or rendering entry point that produces the current PHP 8 >= 8.5.0 text. Update the presentation to clearly state that the function was added in PHP 8.5.0, then verify the rendered page and related version displays.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.