PHP code example of heartsentwined / utf8

1. Go to this page and download the library: Download heartsentwined/utf8 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/ */

    

heartsentwined / utf8 example snippets


use Yalesov\Utf8\Utf8;
$char = Utf8::uchr($num);

use Yalesov\Utf8\Utf8;
$num = Utf8::uord($char);