Welcome Guest, Not a member yet? Register   Sign In
CI4 mbstring deprecated
#1

Hi all!
The MBSTRING library is deprecated, but it is also one of the minimum requirements for installation.
How can I fix it?
How do you behave?
Reply
#2

What functions have been deprecated?

mbereg() and mberegi(): Replaced by mb_ereg() and mb_eregi() in PHP 7.0
mbsplit(): Replaced by mb_split()

QPrint, Base64, Uuencode, and HTML-ENTITIES: Deprecated for all MBString functions
mbstring.http_input, mbstring.http_output, mbstring.internal_encoding: Deprecated in favor of default_charset

How to fix deprecated function errors?

Suppress the warnings by adding a line to the php.ini file.
Upgrade your PHP to a higher version.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(This post was last modified: 02-04-2025, 12:50 AM by Epitto.)

(02-03-2025, 10:10 PM)InsiteFX Wrote: What functions have been deprecated?

mbereg() and mberegi(): Replaced by mb_ereg() and mb_eregi() in PHP 7.0
mbsplit(): Replaced by mb_split()

QPrint, Base64, Uuencode, and HTML-ENTITIES: Deprecated for all MBString functions
mbstring.http_input, mbstring.http_output, mbstring.internal_encoding: Deprecated in favor of default_charset

How to fix deprecated function errors?

Suppress the warnings by adding a line to the php.ini file.
Upgrade your PHP to a higher version.

The helpdesk of the hosting where I uploaded the application sent me: https://www.php.net/manual/it/mbstring.c...ration.php

I am using version 8.x (2 >) of PHP.

If you tell me that there is nothing to worry about and that it is enough to just suppress the error messages, I will adapt.

Thanks.
Reply
#4

You should be fine, just don't use any of the deprecated mb_string methods.

If you have older libraries that use it and are showing deprecated then they will need to be upgrade to fix it.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(02-04-2025, 03:57 AM)InsiteFX Wrote: You should be fine, just don't use any of the deprecated mb_string methods.

If you have older libraries that use it and are showing deprecated then they will need to be upgrade to fix it.

Thanks for the support!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB