Skip to content

[PHP 8.7] Document grapheme_str_pad() - #6205

Open
ChrisAbner wants to merge 2 commits into
php:masterfrom
ChrisAbner:grapheme-str-pad
Open

ChrisAbner wants to merge 2 commits into
php:masterfrom
ChrisAbner:grapheme-str-pad

Conversation

@ChrisAbner

Copy link
Copy Markdown

Documents grapheme_str_pad(), added in PHP 8.7 by the RFC https://wiki.php.net/rfc/grapheme_str_pad (implementation: php/php-src#25179, merged as php/php-src@0fb80228f17).

  • New page reference/intl/grapheme/grapheme-str-pad.xml
  • versions.xml entry (PHP 8 >= 8.7.0)
  • See also links from str_pad() and mb_str_pad(). mb_str_pad() had no See also section yet.

The examples were run on php-src master with the merged commit, and the outputs on the page come from that run. doc-base/configure.php validates the manual with these changes.

Added in PHP 8.7 by the grapheme_str_pad() RFC (php/php-src#25179).
Also link it from the See also sections of str_pad() and mb_str_pad().
@lacatoire lacatoire added the 8.7 label Dec 3, 2026
@lacatoire lacatoire added this to the PHP 8.7 milestone Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants