$urandom_range(max,min) returning same value

In reply to karthikmaniv28:

The correct syntax is $urandom_range(min, max) the way you wanted;