I have defined an array in a for loop.Something like
for($i=0;$i<5;$i++){
$an_array = array();
}
Please let know if the array definition will also the clear the array after the first iteration.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yeh the array will be cleared each time.
You could create unique arrays each time with the follow if thats what you require.