original $first array:
a
b
c
d
e
f
g
New array $second from $first array slice:
c
d
e
The PHP Code START
$first = array("a","b","c","d","e","f","g");
$second = array_slice($first, 2, 3);

foreach ($second as $var) {
    print "$var<br />";
}
The PHP Code END