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