From f613609f76622173ad7383bac4ada3e5c5e06012 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Wed, 10 Jan 2024 17:36:46 +0700 Subject: [PATCH] Add minimal README.md file --- README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9a64706 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# `mb_trim`, `mb_ltrim`, and `mb_rtrim` polyfills + +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.2 or PHP 8.3 with `mbstring` extension. Not supported on PHP 8.4 because these functions are natively implemented in PHP 8.4.