random_bytes


random_bytes ( $bytes )

Parameters:
  • (int) $bytes
Returns:
  • (string)
Defined at:

Description

Unless open_basedir is enabled, use /dev/urandom for random numbers in accordance with best practices

Why we use /dev/urandom and not /dev/random

Related Functions

random_int, do_robots, do_meta_boxes, taxonomy_exists, randomcompat_strlen

Top Google Results

User discussions

wpseek mobile