Clarify the opening sentence of the string type page
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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