Php Cannot Use Empty Array Elements Javascript Documentation