(PHP 5 >= 5.1.0, PHP 7)
Constructs an AppendIterator
public AppendIterator::__construct ( void )
Constructs an AppendIterator.
Returns:
No value is returned.
Examples:
Iterating AppendIterator with foreach
<?php
$pizzas = new ArrayIterator(array('Margarita', 'Siciliana', 'Hawaii'));
$toppings = new ArrayIterator(array('Cheese', 'A