Skip to content
phpOop
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
php.zep
phpOop.php
zephirTest.php

README.md

PhpOop

phpOop

Usage

__('test.json')->getContent()->json()->print();


__([2,3,1,5])->sort()->print();


__([ "test1", "test", "test2", "test3" ])
->sort()->print()
->unset(0)
->reverse()->print()
->each(function( $k, $v ) {
	print_r( $v );
})
->chunk(2)->print();

__("string a ")->trim()->replace("a", "b")->print();
__([ 'test', 'test1' ])->json()->print();


__('["test","test1"]')->json()->change(function( $arr ) {
	unset( $arr[0] );
	return $arr;
})->print();

Update

zephir added

You can’t perform that action at this time.