php / php/doc-en

Clarify the opening sentence of the string type page

Open
#5,431 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
XML
Stars
596
Forks
890
Avg merge
1d 15h
Merged PRs (30d)
55

Description

Affected page

https://www.php.net/manual/en/language.types.string.php

Current issue

I would like to suggest simplifying the opening sentence of the string type page.

The current wording uses “characters”, but that term can be ambiguous in text processing. It may refer to different units depending on context, so it may not be the best term for introducing PHP strings.

The phrase “256-character set” is also confusing. PHP strings are described later on the same page in terms of bytes, and the current wording may suggest a specific 8-bit character set rather than a byte-oriented string model.

Suggested improvement

A string in PHP is a sequence of bytes with an associated length.

Additional context (optional)

No response

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 with the affected PHP manual page at https://www.php.net/manual/en/language.types.string.php and locate its opening sentence in the doc-en source. Replace the ambiguous wording with the suggested byte-and-length description, then verify that the rendered page reflects the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.