Bug #81437 [NEW]: mb_strtchr cutting differently on php 8.1

From: Date: Tue, 14 Sep 2021 13:22:47 +0000
Subject: Bug #81437 [NEW]: mb_strtchr cutting differently on php 8.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236592@lists.php.net to get a copy of this message
From: nicolasgrekas Operating system: PHP version: 8.1.0RC1 Package: *General Issues Bug Type: Bug Bug description:mb_strtchr cutting differently on php 8.1 Description: ------------ echo mb_strrchr('déjàdéjà', 'é', false, 'ASCII'); echoes "à" on 8.1 but echoes "éjà" on previous versions. See https://3v4l.org/jujrP -- Edit bug report at https://bugs.php.net/bug.php?id=81437&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81437&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81437&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81437&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81437&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81437&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81437&r=support Expected behavior: https://bugs.php.net/fix.php?id=81437&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81437&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81437&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81437&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81437&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81437&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81437&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81437&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81437&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81437&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81437&r=mysqlcfg

« previous php.bugs (#236592) next »