| alexandredaubois | Yes | 2026-02-18 07:47 |
| asgrim | Yes | 2026-02-06 16:42 |
| ashnazg | Yes | 2026-02-11 15:08 |
| bwoebi | Yes | 2026-02-06 00:15 |
| crell | Yes | 2026-02-06 15:40 |
| cschneid | Yes | 2026-02-08 12:01 |
| daniels | Yes | 2026-02-18 01:04 |
| derick | Yes | 2026-02-06 08:28 |
| galvao | Yes | 2026-02-07 23:55 |
| girgias | Yes | 2026-02-09 10:38 |
| malferov | Yes | 2026-02-10 18:08 |
| mbeccati | Yes | 2026-02-06 09:12 |
| ocramius | Yes | 2026-02-06 14:45 |
| pajoye | Yes | 2026-02-06 02:13 |
| petk | Yes | 2026-02-06 11:27 |
| ramsey | Yes | 2026-02-06 23:16 |
| sergey | Yes | 2026-02-07 16:01 |
| theodorejb | Yes | 2026-02-06 01:13 |
| timwolla | Yes | 2026-02-06 08:51 |
| weierophinney | Yes | 2026-02-06 19:42 |
Copied from wiki.php.net, last synchronized Oct 13, 2026 11:50 UTC
This proposal is strrev for grapheme cluster unit function. Userland sometimes shows mb_strrev function, but mbstring(Unicode code point unit) can not support multi code point (for example, emoji etc...).
Almost same of Swift's String.reversed().
Add grapheme_strrev function.
<?php
echo grapheme_strrev("αあいうえお👨👨👧👦"); // result is "👨👨👧👦おえういあα"
echo grapheme_strrev("ﻡﺮﺤﺑًﺍ"); // result is "ﺍً ﺐﺣﺮﻣ" (Hello in Arabic, Also works RtoL languages)
?>
This could break a function existing in userland with the same name.
Next of PHP 8.5 (PHP 8.6 or PHP 9.0)
None
Adds grapheme_strrev() to the intl extension.
None
None
None
Pick a title that reflects the concrete choice people will vote on.
Please consult the php/policies repository for the current voting guidelines.
Primary Vote requiring a 2/3 majority to accept the RFC:
Vote: Add grapheme_strrev function — Yes: 20 · No: 0 · Abstain: 0 (closed)
After the RFC is implemented, this section should contain:
Keep this updated with features that were discussed on the mail lists.
If there are major changes to the initial proposal, please include a short summary with a date or a link to the mailing list announcement here, as not everyone has access to the wikis' version history.