承接 gpslab/shmop 相关项目开发

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

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

gpslab/shmop

Composer 安装命令:

composer require gpslab/shmop

包简介

Shmop is a simple and small abstraction layer for shared memory manipulation using PHP

关键字:

README 文档

README

Latest Stable Version Total Downloads Build Status Coverage Status Scrutinizer Code Quality SensioLabs Insight StyleCI License

Shmop

Shmop is a simple and small abstraction layer for shared memory manipulation using PHP.

Shared memory

Installation

Pretty simple with Composer, run:

composer require gpslab/shmop

Usage

Creating new block

use GpsLab\Component\Shmop\Block;

$sh = new Block(
    0xFF, // id for memory block
    3 // memory block size
);
$sh->write('foo');
echo $sh->read(); // print 'foo'
$sh->delete();

Memory block must be a fixed size for correct reading from it.

Reading an existing block

use GpsLab\Component\Shmop\Block;

$sh = new Block(0xFF, 3);
// print contents of memory block. if block is not exists prints a blank line
echo $sh->read();

License

This bundle is under the MIT license. See the complete license in the file: LICENSE

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固