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