Return a random value inside given array

array:get_random_value(ARRAY $array)

array:get_random_value([1, 10, 398])
#=> 398

Copyright ©2013-2022 SunSed®. All rights reserved.