PHP code example of slayerfat / vzla-phone-parser
1. Go to this page and download the library: Download slayerfat/vzla-phone-parser 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/ */
slayerfat / vzla-phone-parser example snippets
$parser = new \Slayerfat\PhoneParser\PhoneParser()
$parser->parseNumber(1234567890); // (123)-456-7890
$parser->parseString('algo1232224455xzx'); // 1232224455
$parser = new \Slayerfat\PhoneParser\PhoneParser()
$parser->parseNumber(1234567890); // (123)-456-7890
$parser->parseString('algo1232224455xzx'); // 1232224455