PHP Code: 
srand();
$files = array("../test.php""../test2.php");
$rand array_rand($files);
include(
$files[$rand]); 
Hey guys, what's the diff between adding srand(); and not adding it?
kohkindachi Reviewed by kohkindachi on . is srand() necessary for random array? srand(); $files = array("../test.php", "../test2.php"); $rand = array_rand($files); include($files); Hey guys, what's the diff between adding srand(); and not adding it? Rating: 5