Skip to content

XenoBlog

PHP: Random unique array value (using an Inline anonymous function)

Published on June 19, 2016

Here’s a small piece of code I wrote which plays around with inline anonymous functions.

It shows you a unique value of an array, even when refreshing the page. The output will be different every time and no value will ever be shown twice in a row.

Posts navigation

Previous Page 1 Page 2

Categories

  • Other
  • PHP
  • Tutorial
  • Webdev

Recent Posts

  • Windows: CUSTOM lock screen wallpaper location
  • Use nano as the editor in git bash for Windows.
  • PHP: Location header bypassing
  • A Safe HTML5 Password Regex
  • PHP: Inline Switch Statement (Anonymous Function)
RSS GitHub Donate some bitcoin!

© XenoBlog. Powered by WordPress & Krusze Theme.