PHP-Polyfills / mb_ucfirst-lcfirst

PHP: Provides a user-land polyfill for `mb_ucfirst` and `mb_lcfirst` functions added in PHP 8.4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mb_ucfirst and mb_lcfirst polyfills

Latest Stable Version License PHP Version Require

Provides user-land PHP polyfills for the mb_ucfirst and mb_ucfirst functions added in PHP 8.4.

Requires PHP 8,1, 8.2 or PHP 8.3 with mbstring extension. Not supported on PHP 8.4 because these functions are natively implemented in PHP 8.4.

Installation

composer require polyfills/mb-ucfirst-lcfirst

Usage

Simply use the mb_ucfirst and mb_ucfirst functions as if they were declared already.

Contributions

Contributions are welcome either as a GitHub issue or a PR to this repo.

About

PHP: Provides a user-land polyfill for `mb_ucfirst` and `mb_lcfirst` functions added in PHP 8.4.

License:MIT License


Languages

Language:PHP 100.0%