pyssphp/string
Composer 安装命令:
composer require pyssphp/string
包简介
Python String Slice for PHP
README 文档
README
What is pyssphp?
pyssphp is a PHP library. It permits developers to use the Python string slice syntax.
Server Requirements
- PHP version 5.3.3 or newer
Usage
<?php $s = new \pyssphp\String('pyssphp'); echo $s[':4']; // prints 'pyss' echo $s['::2']; // prints 'pspp'
Tests
To run the test suite, you need composer and PHPUnit.
$ cd path/to/pyssphp
$ composer.phar install --dev
$ phpunit
License
pyssphp is under the MIT license. Please, read LICENSE.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-26