CBPHistoryResult :: GetFromSerializedForm: Bitrix method

      
<?php 
//  CBPHistoryResult :: GetFromSerializedForm()
//  /dist/bitrix/modules/bizproc/classes/general/historyservice.php:450

    
private function GetFromSerializedForm($value)
    {
        if (
strlen($value) > 0)
        {
            if (
$this->useGZipCompression)
                
$value gzuncompress($value);

            
$value unserialize($value);
            if (!
is_array($value))
                
$value = array();
        }
        else
        {
            
$value = array();
        }
        return 
$value;
    }