PHP collection class

Below is a simple collection class that works approximately like Java collection classes.

The usage should be fairly obvious, but you may also refer to the sample code at the end.

Collection.php:

Example usage:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: