In the most basic way, it's just created through the constructor.1$arr = new ArrayUtils([1,2,3,4,5]);2echo $arr->join(", "); //1, 2, 3, 4, 5Copied!
1$arr = ArrayUtils::from([1,2,3,4,5]);2echo $arr->join(", "); //1, 2, 3, 4, 5Copied!
1$arr = ArrayUtils::of(1,2,3,4,5);2echo $arr->join(", "); //1, 2, 3, 4, 5Copied!
All methods can be called statically with the suffixFrom
1echo ArrayUtils::joinFrom([1,2,3,4,5], ", "); //1, 2, 3, 4, 5Copied!