Php Convert Empty Array Python Definition