Php Convert Null To Empty Array Python W3schools