Php Convert Empty Array Python Example