Skip to content

Instantly share code, notes, and snippets.

@bkilshaw
Created August 10, 2016 07:12
Show Gist options
  • Save bkilshaw/1e543b398653b12585b33de00fb441e3 to your computer and use it in GitHub Desktop.
Save bkilshaw/1e543b398653b12585b33de00fb441e3 to your computer and use it in GitHub Desktop.
if(!Session::has('rand.key')) {
Session::push('rand.key', rand());
}
$seed = Session::get('rand.key');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment