Doc #78882 [NEW]: str_split on a utf8 line complains about 8-bit chars
| From: | fidhleir99 at gmail dot com | Date: | Thu, 28 Nov 2019 18:12:46 +0000 |
| Subject: | Doc #78882 [NEW]: str_split on a utf8 line complains about 8-bit chars | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-17075@lists.php.net to get a copy of this message | ||
From: fidhleir99 at gmail dot com
Operating system: FreeBSD 11.3
PHP version: 7.3.12
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:str_split on a utf8 line complains about 8-bit chars
Description:
------------
---
From manual page: https://php.net/function.str-split
---
"Note:
str_split() will split into bytes, rather than characters when
dealing with a multi-byte encoded string."
If it's splitting into bytes, then it shouldn't be complaining about
8-bit values. But it does.
--
Edit bug report at https://bugs.php.net/bug.php?id=78882&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78882&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78882&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78882&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78882&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78882&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78882&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78882&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78882&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78882&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78882&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78882&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78882&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78882&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78882&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78882&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78882&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78882&r=mysqlcfg