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