Skip to content

Commit

Permalink
Add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesh committed Jan 10, 2024
1 parent 5891edd commit b802d94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# `mb_trim`, `mb_ltrim`, and `mb_rtrim` polyfills

[![Latest Stable Version](http://poser.pugx.org/phpwatch/mb-trim-polyfill/v)](https://packagist.org/packages/phpwatch/mb-trim-polyfill) [![License](http://poser.pugx.org/phpwatch/mb-trim-polyfill/license)](https://packagist.org/packages/phpwatch/mb-trim-polyfill) [![PHP Version Require](http://poser.pugx.org/phpwatch/mb-trim-polyfill/require/php)](https://packagist.org/packages/phpwatch/mb-trim-polyfill)

Provides user-land PHP polyfills for the [`mb_trim`, `mb_ltrim`, and `mb_rtrim` functions added in PHP 8.4](https://php.watch/versions/8.4/mb_trim-mb_ltrim-mb_rtrim).

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.

0 comments on commit b802d94

Please sign in to comment.