2017 © Pedro Peláez
 

library mb_str_replace

The mb_str_replace() implementation.

image

jp3cki/mb_str_replace

The mb_str_replace() implementation.

  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

mb_str_replace

The mb_str_replace() implementation., (*1)

Build Status, (*2)

Install

  1. Set up composer. $ curl -sS https://getcomposer.org/installer | php
  2. $ php composer.phar require jp3cki/mb_str_replace
  3. You can find the source in vendor/jp3cki/mb_str_replace/src.

Other ways: * Use as submodule (see git manual) * Copy the source into your development directory (DO NOT rewrite copyright, see License section), (*3)

Use

If using composer

You can use mb_str_replace function after require('vendor/autoload.php')., (*4)

If not using composer

require or include the source., (*5)

require_once('/path/to/mb_str_replace.function.php');

API

function mb_str_replace(
    string|array $search,
    string|array $replace,
    string|array $subject,
    string $encoding = 'auto'
) : string|array

Please refer str_replace., (*6)

$encoding = auto means "use internal-encoding.", (*7)

Note: This module doesn't support $count parameter., (*8)

License

The MIT License (MIT)

Copyright (C) 2006,2007,2011,2012,2015 by AIZAWA Hina <hina@bouhime.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

The Versions

30/10 2016

dev-master

9999999-dev

The mb_str_replace() implementation.

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-mbstring *

 

The Development Requires

14/02 2016

4.0.2

4.0.2.0

The mb_str_replace() implementation.

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-mbstring *

 

The Development Requires

12/03 2015

4.0.1

4.0.1.0

The mb_str_replace() implementation.

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-mbstring *

 

The Development Requires

04/03 2015

4.0.0

4.0.0.0

The mb_str_replace() implementation.

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-mbstring *

 

The Development Requires

04/03 2015

3.1.1

3.1.1.0

The mb_str_replace() implementation.

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-mbstring *

 

The Development Requires