PHP code example of crazyxman / hessian-parser

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

    

crazyxman / hessian-parser example snippets


$str = "2rsCFAAAAAAAAAAAAAAA95RDMCRjb20ua2FpeXVhbi5wMnAuY29tbW9uLnJlc3VsdC5SZXN1bHSZEWZhdWx0ZWRQcm9wZXJ0aWVzC2Vycm9yQ29kZXMxCmVycm9yQ29kZXMKcmVzdWx0Q29kZQhlbnRpdGllcwVpdGVtcwtyZXN1bHRQYXJ0cwxpc1N1Y2Nlc3NmdWwGc3RhdHVzYHAUamF2YS51dGlsLkxpbmtlZExpc3RwkHCQTk5xE2phdmEudXRpbC5BcnJheUxpc3QwJDliZTUxNjE0LTJmNDktNDZhNS05N2M1LWJlZmVlZTZjYjNhZkhaVMjISAVkdWJibwUyLjAuMlo="
$str = base64_decode($str);
$dp = new DubboParser();
$data = $ps->getData($str);

$decoder = new Decoder;
$decoder->feed($data);
return $decoder->finalize();