If I want to use a PHP non-associative array like a dictionary and add a big key, how much memory will PHP allocate?
$myArray = Array();
$myArray[6000] = "string linked to ID 6000";
$myArray[7891] = "another key-value pair";
Will PHP also allocate memory for the unused keys 0-5999 and 6001-7890?