how to declare blank array in php code example Example: declare empty array in php $emptyArray = []; $emptyArray = array(); $emptyArray = (array) null;