在foreach循环中无法访问原始数组

I have a problem with my foreach loop. My foreach loop basically looks like this:

echo $values[0];
echo $values[1];

foreach ($values as $key => $value)
{
    echo $values[0];
    echo $values[1];
}

$values[0] should be "new york city" and $values[1] should be "new york". The problem is that in the foreach loop, both echos give the same value, whereas outside the loop they give the different (correct) values.

How do I access the original array ($values) normally inside of the foreach loop?

EDIT: I don't want to access the value $value. I want to be able to access any index of $values regardless of which iteration my foreach loop is on. I hope I am making sense.

Also, obviously I have alot more going on in this foreach loop, it was just meant as an example. The purpose of the foreach loop is not to print out these values.

Basically what the actual foreach loop I am using does is that it iterate through an array, and when it finds a certain value in that array, it iterates through the whole array again (inside the foreach loop). So basically I want a foreach loop inside a foreach loop, both for the same array, but it doesn't seem to work.

Try to use $val instead of $values[$i];

// Code goes here

foreach ($values as $key => $value)
{
    echo $value;
}