Converted array to php 5.3