php declare empty multidimensional array code example Example: create empty 2d array php <?php $emptyArray = [[]]; ?>