declare empty array in php
snippet in php

declare empty array php

user9220

$emptyArray = []; 
$emptyArray = array();
$emptyArray = (array) null;

declare empty array in php

user4167

$emptyArray = []; 
$emptyArray = array();
$emptyArray = (array) null;