PHP code example of jimchen / gb-t-2260

1. Go to this page and download the library: Download jimchen/gb-t-2260 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/ */

    

jimchen / gb-t-2260 example snippets


$jsonRaw = file_get_contents(GBT2260_RAW_PATH);
$jsonObject = json_decode($jsonRaw);

// 现在你可以分别 dump 出两个变量,看其中的内容