1. 7
  1.  

  2. 1

    Annoying PHP has no concept of deprecation for these functions. You have several rand variants and only one or two are worth your time.

    1. 1

      At least they put it in their reference manual…

      Just use openssl_random_pseudo_bytes().