Php Cannot Use Empty Array Elements In D