PHP code example of mathiasreker / php-mbstring-extension
1. Go to this page and download the library: Download mathiasreker/php-mbstring-extension library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mathiasreker / php-mbstring-extension example snippets
\MathiasReker\PhpMbFunctions\Mbstring::levenshtein(
string $s1,
string $s2,
int $cost_ins = 1,
int $cost_rep = 1,
int $cost_del = 1
): int