Skip to content

Clarify the opening sentence of the string type page #5431

@masakielastic

Description

@masakielastic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions