Tagged articles
16 articles
Page 1 of 1
php Courses
php Courses
Dec 5, 2025 · Backend Development

Master PHP’s mb_strlen: Accurately Measure Multibyte String Lengths

This guide explains how to enable the mbstring extension, use the mb_strlen() function with optional encoding, and apply practical examples—including Chinese and Japanese strings and length validation—to reliably handle multibyte strings in PHP development.

PHPcodingmb_strlen
0 likes · 4 min read
Master PHP’s mb_strlen: Accurately Measure Multibyte String Lengths
php Courses
php Courses
Nov 5, 2025 · Backend Development

Mastering PHP’s mb_strlen: Handle Multibyte Strings with Ease

This guide explains how to use PHP’s mb_strlen function to accurately measure the length of multibyte strings, covering installation of the mbstring extension, syntax, optional encoding, practical code examples, and common validation scenarios for robust backend development.

PHPmb_strlenmultibyte
0 likes · 5 min read
Mastering PHP’s mb_strlen: Handle Multibyte Strings with Ease
php Courses
php Courses
Sep 10, 2025 · Backend Development

Master Multibyte String Cutting in PHP with mb_substr – Tips & Examples

This article explains how PHP's mb_substr() function safely extracts portions of multibyte strings, details its syntax, parameters, and provides clear code examples demonstrating correct usage, edge cases, and its importance for multilingual web development.

BackendStringmb_substr
0 likes · 3 min read
Master Multibyte String Cutting in PHP with mb_substr – Tips & Examples
php Courses
php Courses
Sep 5, 2025 · Backend Development

Mastering PHP’s mb_substr: Handle Multibyte Strings with Ease

This article explains PHP's mb_substr() function, its signature, parameters, and provides clear examples showing how to correctly extract substrings from multibyte strings such as Chinese or Japanese without causing garbled output.

BackendString Manipulationmb_substr
0 likes · 3 min read
Mastering PHP’s mb_substr: Handle Multibyte Strings with Ease
php Courses
php Courses
Jul 23, 2025 · Backend Development

Master PHP’s mb_strlen: Handle Multibyte Strings with Ease

This article explains how to use PHP's mb_strlen function to accurately measure the length of multibyte strings such as Chinese or Japanese, covering installation of the mbstring extension, syntax, optional encoding, practical code examples, and common validation scenarios.

BackendPHPmbstring
0 likes · 4 min read
Master PHP’s mb_strlen: Handle Multibyte Strings with Ease
php Courses
php Courses
Jun 20, 2025 · Backend Development

Master Multibyte String Cutting in PHP with mb_substr – Examples & Tips

The article explains PHP's mb_substr() function, detailing its syntax, parameters, and how it correctly handles multibyte characters, with multiple code examples and notes on edge cases, making it essential for developers working on internationalized backend projects.

BackendPHPString Manipulation
0 likes · 3 min read
Master Multibyte String Cutting in PHP with mb_substr – Examples & Tips
php Courses
php Courses
Mar 3, 2025 · Backend Development

Using mb_strlen in PHP to Handle Multibyte Strings

This article explains how to enable the mbstring extension in PHP and use the mb_strlen function with UTF-8 encoding to accurately measure the length of multibyte strings, including practical code examples and techniques for checking empty strings.

PHPmb_strlenmultibyte
0 likes · 4 min read
Using mb_strlen in PHP to Handle Multibyte Strings
php Courses
php Courses
Feb 20, 2025 · Backend Development

Using PHP mb_strlen() to Get the Length of Multibyte Strings

This article explains how to enable the mbstring extension and use PHP's mb_strlen() function with optional encoding parameters to accurately measure the length of multibyte strings such as Chinese and Japanese, including practical code examples for length calculation and validation.

BackendPHPmbstring
0 likes · 5 min read
Using PHP mb_strlen() to Get the Length of Multibyte Strings
php Courses
php Courses
Jun 21, 2024 · Backend Development

Using PHP mb_strlen to Handle Multibyte Strings

This article explains how to enable the mbstring extension in PHP and use the mb_strlen function to accurately measure multibyte string lengths, including examples with UTF-8 encoding, handling empty strings, and combining with trim for robust string validation.

Backendmbstringmultibyte
0 likes · 5 min read
Using PHP mb_strlen to Handle Multibyte Strings
php Courses
php Courses
Mar 19, 2024 · Backend Development

Using PHP mb_strlen() to Measure Multibyte String Length

This article explains how to use PHP's mb_strlen() function from the mbstring extension to accurately measure the length of multibyte strings, covering installation, syntax, optional encoding parameters, practical examples in Chinese and Japanese, and how to validate string length limits.

PHPmbstringmultibyte
0 likes · 5 min read
Using PHP mb_strlen() to Measure Multibyte String Length
php Courses
php Courses
Jan 15, 2024 · Backend Development

Using PHP mb_substr() for Multibyte String Truncation

The article explains the PHP mb_substr() function, its syntax, parameter meanings, and provides multiple code examples demonstrating how to correctly truncate multibyte strings such as Chinese or Japanese without causing garbled output, along with important usage notes.

BackendPHPString
0 likes · 4 min read
Using PHP mb_substr() for Multibyte String Truncation
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using PHP mb_strlen() to Measure Multibyte String Length

This article explains how the PHP mb_strlen() function from the mbstring extension can accurately calculate the length of multibyte strings such as Chinese or Japanese, shows its syntax, optional encoding parameter, and provides practical code examples for length checking and validation.

BackendPHPcoding
0 likes · 5 min read
Using PHP mb_strlen() to Measure Multibyte String Length
php Courses
php Courses
Oct 11, 2022 · Backend Development

Sensitive Word Detection Algorithm in PHP Using Multibyte String Traversal

This article explains how to build a tree‑based sensitive‑word detection algorithm in PHP, discusses the challenges of correctly iterating over multibyte strings, and provides a complete implementation with code examples that handle Unicode characters efficiently.

PHPString Traversalalgorithm
0 likes · 6 min read
Sensitive Word Detection Algorithm in PHP Using Multibyte String Traversal
Laravel Tech Community
Laravel Tech Community
Oct 14, 2020 · Backend Development

Using mb_strtoupper() to Convert Strings to Uppercase in PHP

This article explains the PHP mb_strtoupper() function, detailing its syntax, parameters, return value, and demonstrates usage that converts English and Unicode strings to uppercase, highlighting optional encoding handling, including how to set internal encoding and handle multibyte characters correctly.

PHPString Functionsmb_strtoupper
0 likes · 2 min read
Using mb_strtoupper() to Convert Strings to Uppercase in PHP