an array, like any other variable type in PHP, is created when a script is run and then destroyed when the script termintates. even ways of preserving variables accross multiple page requests (like session, cookies, etc...) are simply stored temporarily by the client or server (usually in text files) and then re-read into memory on the next page request.
so i suppose the answer to your question is you cannot set an array to not change unless you tell it to when the page loads because the array won't exist until the page loads.