declare empty array php
snippet in php

declare empty array php

user9932

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

declare empty array in php

user2549

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