PHP code example of akimimi / strings
1. Go to this page and download the library: Download akimimi/strings 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/ */
akimimi / strings example snippets
use Akimimi\Strings\PlateUtil;
$plate1 = "京Q7BP06";
$plate2 = "晋7BP0A6";
$distance = PlateUtil::Distance($plate1, $plate2, 0.5); // return 2.5