arrays to php 5.2