PHP code example of 7-zete-7 / number-like-string

1. Go to this page and download the library: Download 7-zete-7/number-like-string 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/ */

    

7-zete-7 / number-like-string example snippets


use Zete7\NumberLikeString\NumberLikeStringFactory;

$util = NumberLikeStringFactory::createUtil();
$util->isValidNumberString('1069'); // => true


use Zete7\NumberLikeString\NumberLikeStringFactory;

$util = NumberLikeStringFactory::createUtil();
$util->normalizeNumberString('3Յ75'); // => "3375"