string-list
README.md
string-list
Simple list of strings
usage:
$list = new StringList();$list[0] = 'string';$list[1] = new SimpleString('string');
$list = new StringList(new SimpleString('string'));
$list = new StringList('one', 'two', new SimpleString('three'));
$list = new StringList();$list ->fromEnumerationString('one,two,three');echo $list[0];//one
$list = new StringList();$list ->useSeparator('|') ->fromEnumerationString('one|two|three');echo $list[1];//two
$list = new StringList();$list[] = new SomeStringableClass('string');
Also
[!CAUTION] Use int-based indexes only!