2017 © Pedro Peláez
 

library mbstring

Methods for handling multibyte string manipulations.

image

jpuck/mbstring

Methods for handling multibyte string manipulations.

  • Wednesday, October 25, 2017
  • by jpuck
  • Repository
  • 1 Watchers
  • 0 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 217 % Grown

The README.md

multibyte string methods

Methods for handling multibyte string manipulations., (*1)

Build Status ![Codecov][4], (*2)

Installation

via [composer][5]:, (*3)

composer require jpuck/mbstring

Usage

See the tests for more examples., (*4)

Case Map

Creates an index of uppercase character positions in a string that can be mapped to other strings., (*5)

$original = '🔥 Foó, foó FOÓ 😁';
$casemap = new CaseMap($original);
$replaced = mb_eregi_replace('foó', 'bår', $original);
$restored = $casemap->transform($replaced);

echo "original: $original\n";
echo "replaced: $replaced\n";
echo "restored: $restored\n";
original: 🔥 Foó, foó FOÓ 😁  
replaced: 🔥 bår, bår bår 😁  
restored: 🔥 Bår, bår BÅR 😁  

The Versions

25/10 2017

dev-master

9999999-dev

Methods for handling multibyte string manipulations.

  Sources   Download

GPL-3.0+

The Requires

  • php ^7.0
  • ext-mbstring ^7.0

 

The Development Requires

by Jeff Puckett

25/10 2017

dev-dev

dev-dev

Methods for handling multibyte string manipulations.

  Sources   Download

GPL-3.0+

The Requires

  • php ^7.0
  • ext-mbstring ^7.0

 

The Development Requires

by Jeff Puckett

25/10 2017

0.1.0

0.1.0.0

Methods for handling multibyte string manipulations.

  Sources   Download

GPL-3.0+

The Requires

  • php ^7.0
  • ext-mbstring ^7.0

 

The Development Requires

by Jeff Puckett