(PHP 5, PHP 7)
ArrayObject::append — ���µ�ֵ��Ϊ���һ��Ԫ�ء�
���µ�ֵ��Ϊ���һ��Ԫ�ء�
Note:
�� ArrayObject �� object ��ʼ��ʱ���ܵ��ô˷�����ʹ�� ArrayObject::offsetSet() ���档
value
��Ҫ���ӵ�ֵ
û�з���ֵ��
Example #1 ArrayObject::append() ����
<?php
$arrayobj = new ArrayObject(array('first','second','third'));
$arrayobj->append('fourth');
$arrayobj->append(array('five', 'six'));
var_dump($arrayobj);
?>
�������̻������
object(ArrayObject)#1 (5) { [0]=> string(5) "first" [1]=> string(6) "second" [2]=> string(5) "third" [3]=> string(6) "fourth" [4]=> array(2) { [0]=> string(4) "five" [1]=> string(3) "six" } }