承接 jeroenvdheuve/serialization 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jeroenvdheuve/serialization

Composer 安装命令:

composer require jeroenvdheuve/serialization

包简介

Unserializes php serialized strings and is able the process class that are not loaded

README 文档

README

Description

This library provides the ability to unserialize and re-serialize php serialized data. Unlike the php unserializer, this library is not creating the actual objects that were serialized. Therefore no error will be thrown when the serialized class could not be found. This can come in handy when using multiple applications share data via php serialization.

Master: Build Status

Known issues

HHVM is not able to serialize references containing objects. References containing objects, will be serialized as a copy/reference pointing to the same object but not to the same variable.

For instance:

$o = new stdClass();
echo serialize(array(&$o, &$o))

Should echo a:2:{i:0;O:8:"stdClass":0:{}i:1;R:2;} when references are properly supported. HHVM will echo a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}. Lowercase r means it's not a reference to the same variable. It's only pointing to the same object.

HHVM does support variables containing references. For instance:

$i = 1;
echo serialize(array(&$i, &$i));

Will echo a:2:{i:0;i:1;i:1;R:2;} in both PHP and HHVM.

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固