Why using getArrayCopy and exhangeArray ? By Ivan Gospodinow 7 Jan 2017 Updated 8 Jan 2017 ·php Because that is what php are using in ArrayObject