cef8fcc6e3
This is a pure PHP implementation of ArrayObject. It does't match the reference semantics of zend's implementation, but it is much easier to build this in pure PHP, so its a good first step. It is better to have it like this, than to not have it at all.
34 linhas
761 B
Plaintext
34 linhas
761 B
Plaintext
Standard sorting
|
|
ArrayObject Object
|
|
(
|
|
[storage:ArrayObject:private] => Array
|
|
(
|
|
[0] => IMG0.png
|
|
[5] => IMG3.png
|
|
[4] => img1.png
|
|
[2] => img10.png
|
|
[1] => img12.png
|
|
[3] => img2.png
|
|
)
|
|
|
|
[flags:ArrayObject:private] => 0
|
|
[iteratorClass:ArrayObject:private] => ArrayIterator
|
|
)
|
|
|
|
Natural order sorting (case-insensitive)
|
|
ArrayObject Object
|
|
(
|
|
[storage:ArrayObject:private] => Array
|
|
(
|
|
[0] => IMG0.png
|
|
[4] => img1.png
|
|
[3] => img2.png
|
|
[5] => IMG3.png
|
|
[2] => img10.png
|
|
[1] => img12.png
|
|
)
|
|
|
|
[flags:ArrayObject:private] => 0
|
|
[iteratorClass:ArrayObject:private] => ArrayIterator
|
|
)
|