Php Convert Empty Array Python Initialize