Reverse the elements of the current Vector in place
Vector
public function reverse(): void;
void
$v = Vector {'red', 'green', 'blue', 'yellow'}; $v->reverse(); \var_dump($v);