Skip to content

Instantly share code, notes, and snippets.

@vladdancer
Created November 25, 2013 18:39
Show Gist options
  • Save vladdancer/7646335 to your computer and use it in GitHub Desktop.
Save vladdancer/7646335 to your computer and use it in GitHub Desktop.
end($array);
$referenceToLastElement = &$array[key($array)];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment