Bug #80289 [Com]: mb_substr, 7.4.11
| From: | fghghghgh at fgfgfg dot com | Date: | Tue, 27 Oct 2020 17:23:40 +0000 |
| Subject: | Bug #80289 [Com]: mb_substr, 7.4.11 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-229954@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80289&edit=1
ID: 80289
Comment by: fghghghgh at fgfgfg dot com
Reported by: ivse at mail dot ee
Summary: mb_substr, 7.4.11
Status: Open
Type: Bug
Package: *General Issues
Operating System: windows, xampp
PHP Version: 7.4.11
Block user comment: N
Private report: N
New Comment:
what about read the error message?
Call to undefined function mbsubstr()
mbsubstr != mb_substr
so the output is *for sure* not from "echo strtoupper(mb_substr(trim($val), 0, 4));"
are you kidding or why do you report own typos to a bugtracker?
Previous Comments:
------------------------------------------------------------------------
[2020-10-27 17:19:16] ivse at mail dot ee
Description:
------------
Where is mb_substr function in version php 7.4.11?????
I use CodeIgniter framework and here's in many places the function. Please recover the
mb_substr.
Thank you
Test script:
---------------
$val = "dfasfa";
echo strtoupper(mb_substr(trim($val), 0, 4));
Shows
Fatal error: Uncaught Error: Call to undefined function mbsubstr() in
C:\xampp\htdocs\myproj\index.php:4 Stack trace: #0 {main} thrown in C:\xampp\htdocs\myproj\index.php
on line 4
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80289&edit=1