Php Convert Empty Array Python Vs List