Skip to content

Latest commit

 

History

History
76 lines (63 loc) · 2.03 KB

polyfill_mbstring.rst

File metadata and controls

76 lines (63 loc) · 2.03 KB
.. index::
    single: Polyfill
    single: Mbstring
    single: Components; Polyfill

The Symfony Polyfill / Mbstring Component

This component provides a partial, native PHP implementation for the mbstring PHP extension.

Installation

$ composer require symfony/polyfill-mbstring

Usage

Once this component is installed in your application, you can use the following constants and functions, no matter if the PHP mbstring extension is installed or not in your server.

Provided Constants

  • MB_CASE_UPPER (value = 0)
  • MB_CASE_LOWER (value = 1)
  • MB_CASE_TITLE (value = 2)

Provided Functions