<?php $bytes = random_bytes(20);var_dump(bin2hex($bytes)); // your code goes here
Standard input is empty
string(40) "3def4be0313c5cdbe530316907148b91f62d7a6a"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!