dev-master
9999999-dev https://github.com/villfa/pyssphpPython String Slice for PHP
MIT
The Requires
- php >=5.3.3
- hoa/string master
by Fabien Villepinte
library string
Python String Slice for PHP
pyssphp is a PHP library. It permits developers to use the Python string slice syntax., (*2)
``` php <?php, (*3)
$s = new \pyssphp\String('pyssphp'); echo $s[':4']; // prints 'pyss' echo $s['::2']; // prints 'pspp', (*4)
```, (*5)
To run the test suite, you need composer and PHPUnit., (*6)
$ cd path/to/pyssphp $ composer.phar install --dev $ phpunit
pyssphp is under the MIT license. Please, read LICENSE., (*7)
Python String Slice for PHP
MIT
library string