[wp-trac] [WordPress Trac] #56009: Prepare for PHP 8.2

WordPress Trac noreply at wordpress.org
Tue Aug 23 15:11:52 UTC 2022


#56009: Prepare for PHP 8.2
-----------------------------+---------------------
 Reporter:  jrf              |       Owner:  (none)
     Type:  task (blessed)   |      Status:  new
 Priority:  normal           |   Milestone:  6.1
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  php82 has-patch  |     Focuses:
-----------------------------+---------------------

Comment (by antonvlasenko):

 > Locale-independent case conversion
 I've investigated the possible influence of [https://wiki.php.net/rfc
 /strtolower-ascii| this PHP 8.2 change] on WordPress.
 Please see the examples below:
 https://3v4l.org/9OGQo/rfc#v8.1.9 <- PHP 8.1 (and below)
 https://3v4l.org/9OGQo/rfc#vgit.master <- PHP 8.2
 The test fails on PHP 8.2 too. But, at least, `strtoupper()` doesn't
 "corrupt" the string.
 This is some good news. As can be seen from the test, PHP 8.2 better
 processes multibyte characters passed to "regular" (non-mbstring) string
 functions.
 I haven't found any differences in processing extended ASCII characters
 (128-255) in PHP 8.2 compared to PHP 8.1.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56009#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list