Language and Time Limitations
However, the server-side language used in our site framework was Twig, which is a PHP-based language specifically made for templating. The only functions available to me to manipulate arrays were
merge(), which merges two arrays into one array, and
slice(), which extracts a sequence of a sequence, mapping, or string.
splice(), available in other languages, were not available in Twig, making array manipulation frustrating to deal with.