Voting

: four minus two?
(Example: nine)

The Note You're Voting On

arturo {dot} ronchi {at} gmail {dot} com
20 years ago
Here is a little function if you would like to get the top element and rotate the array afterwards.

function array_rotate(&$arr)
{
$elm = array_shift($arr);
array_push($arr, $elm);
return $elm;
}

<< Back to user notes page

To Top