PHP code example of oihana / php-standards
1. Go to this page and download the library: Download oihana/php-standards 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/ */
oihana / php-standards example snippets
use org\iso\ISO4217;
use org\iso\Iso8601DateTime;
use org\ietf\Locale;
// Constants with built-in validation/lookup
ISO4217::EUR; // "EUR"
ISO4217:: // 8
// BCP 47 locales with cross-validation against ISO
new Locale('zh-Hant-TW', strict: true); // OK
new Locale('zz-ZZ', strict: true); // throws
bash
composer