Dynamic vars inside a loop

Var Data type Description
$_item mixed Current item
$_previous mixed The previous item
$_next mixed The next item
$_key mixed The key of the item in the PHP array
$_index integer The index of the item (0..n-1)
$_index_random integer Random index of the list (0..n-1)
$_order integer The order of the item (1..n)
$_list string The name of the list
$_is_last boolean True if the current item is the last
$_is_first boolean True if the current item is the first
$_is_odd boolean True if the current index is odd
$_is_even boolean True if the current index is even