makin a array auto update in php code example
Example: php initialize array
// Initialize Empty Array (PHP 5.4 and higher)
$myArray = [];
// Initialize Empty Array (Before PHP 5.4)
$myArray = array();
// Initialize Empty Array (PHP 5.4 and higher)
$myArray = [];
// Initialize Empty Array (Before PHP 5.4)
$myArray = array();