* @access protected
* @param string $data
* @return mixed
*/
protected function unserialize($data)
{
if ($this->options['serialize'] && 0 === strpos($data, self::$serialize[2])) {
$unserialize = self::$serialize[1];
return $unserialize(substr($data, self::$serialize[3]));
} else {
return $data;
}
}
/**
* 注册序列化机制
* @access public
* @param callable $serialize 序列化方法
s | /dadasbah/sbagdbbrs/ |
USER | www |
HOME | /home/www |
HTTP_HOST | mit.51dongshi.com |
HTTP_USER_AGENT | |
HTTP_ACCEPT_LANGUAGE | zh-CN |
HTTP_ACCEPT | */* |
HTTP_CONNECTION | Keep-Alive |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | mit.51dongshi.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.0.4 |
REMOTE_PORT | 63830 |
REMOTE_ADDR | 172.17.0.12 |
SERVER_SOFTWARE | nginx/1.22.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroots/wwwroot/51dongshi/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /dadasbah/sbagdbbrs/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/dadasbah/sbagdbbrs/ |
SCRIPT_FILENAME | /www/wwwroots/wwwroot/51dongshi/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1701824952.8575 |
REQUEST_TIME | 1701824952 |
ROOT_PATH | /www/wwwroots/wwwroot/51dongshi/public/../ |
APP_PATH | /www/wwwroots/wwwroot/51dongshi/public/../application/ |
PUBLIC_PATH | /www/wwwroots/wwwroot/51dongshi/public/../public/ |
EXTEND_PATH | /www/wwwroots/wwwroot/51dongshi/public/../extend/ |
DS | / |