Download the PHP package qiuqiux/indexed-array without Composer
On this page you can find all versions of the php package qiuqiux/indexed-array. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download qiuqiux/indexed-array
More information about qiuqiux/indexed-array
Files in qiuqiux/indexed-array
Download qiuqiux/indexed-array
More information about qiuqiux/indexed-array
Files in qiuqiux/indexed-array
Vendor qiuqiux
Package indexed-array
Short Description Rewrite from SplFixedArray,it can use as the indexed array.
License MIT
Package indexed-array
Short Description Rewrite from SplFixedArray,it can use as the indexed array.
License MIT
Please rate this library. Is it a good library?
Informations about the package indexed-array
IndexArray
modify from SplFixedArray that can use as array.
Examples:
$a = new IndexedArray();
$a[] = 'a';
$a[] = 'b';
$a[] = 'b';
$a->pop();
$a->shift();
foreach ($a as $val) {
echo $val;
}
echo count($a); // 1
$a[] = 'd'; // $a[1] = 'd';
$indexedArray1 = new IndexedArray();
$indexedArray2 = new IndexedArray();
$max = 1000000;
for ($i = 0; $i < $max; ++$i) {
$indexedArray1[] = $i;
$indexedArray2[] = $max + $i;
}
echo $indexedArray1->merge($indexedArray2)->getSize();
API
- createFormArray
- createFromFixedArray
- pop
- push
- shift
- unshift
- unique
- last
- search
- transform
- reverse
- merge
- getSize
- toJson
- toArray
All versions of indexed-array with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package qiuqiux/indexed-array contains the following files
Loading the files please wait ....