Add one or more elements to the end of an array.

array:postpend(ARRAY $array, $values_to_postpend)

$array = [1,2,3,4]
$value_to_postpend = 5
array:postpend($array, $value_to_postpend)
#=> [
#=>     1,
#=>     2,
#=>     3,
#=>     4,
#=>     5
#=> ]

Copyright ©2013-2022 SunSed®. All rights reserved.