ArrayObject::append

ArrayObject::append

(PHP 5 >= 5.0.0, PHP 7)

ArrayObject::appendAppends the value

Description

public void ArrayObject::append ( mixed $value )

Appends a new value as the last element.

Note:

This method cannot be called when the ArrayObject was constructed from an object. Use ArrayObject::offsetSet() instead.