`include` alias fails to redirect

Open Beginner friendly
#2,021 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
php
Domain
web-dev

Research direction

Start by tracing how the site handles the /include/ URL and compare it with the existing /print and /ltrim aliases. The fix is done when https://www.php.net/include/ redirects to or shows the content from https://www.php.net/manual/en/function.include.php.

Written by the indexing model from the issue text.

Description

Bug Status: Needs Triage
Affected Page URL

https://www.php.net/include/

Describe the bug

Every other function redirects or is an alias to the function page:
https://www.php.net/print is an alias to https://www.php.net/manual/en/function.print.php
https://www.php.net/ltrim is an alias to https://www.php.net/manual/en/function.ltrim.php

https://www.php.net/include/ is not an alias or redirect, but instead is a list of include files for the site.

Steps to reproduce
  1. Go to https://www.php.net/include/
Expected behavior

I expected the same content as I would see on https://www.php.net/manual/en/function.include.php

Screenshots

No response

Additional context

No response

Dominant language
PHP
Stars
1.1k
Forks
641
Avg merge
22h 36m
Merged PRs (30d)
16

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.

More from php/web-php

All issues in php/web-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.