PHP code example of ujiro2017 / fixnames
1. Go to this page and download the library: Download ujiro2017/fixnames 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/ */
ujiro2017 / fixnames example snippets
sh
sh
$firstname = " John";
$middlename = "doe ";
$surname = "MIKE";
echo "Unfixed names: $surname $firstname $middlename<br>"; // Unfixed Names: Mike John doe
fix_names($surname, $firstname, $middlename);
echo "Fixed names: $surname $firstname $middlename"; // Fixed Names: Mike John Doe